Closed Bug 1782166 Opened 2 years ago Closed 2 years ago

Add debug-only JSScript::dump method that dumps equivalent of `dis()` and some more

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

During testing frontend, shell-only dis() function is very useful, but it's not available on self-hosted JS context.

it would be better having that ability in C++ side, so that it's available in debugger.

Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/6b239eb7bae6
Part 1: Add JSScript::dump and move shell dis() function implementation into it. r=nbp
https://hg.mozilla.org/integration/autoland/rev/7fc1ca459ce3
Part 2: Add more info in JSScript::dump. r=nbp
Blocks: sm-meta
Severity: -- → N/A
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
Blocks: 1783130
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: