In Toronto, Jim, Jan, and I made some debugger plans.
Right now you can’t just create a Debugger object at any time and start
debugging whatever’s on the stack. It sucks.
Bug 716647 -[jsdbg2] allow Debugger to be enabled with debuggee frames
on the stack
https://bugzilla.mozilla.org/show_bug.cgi?id=716647
The main problem is that inspecting Ion frames wouldn’t work. So we have
a plan to fix that:
Bug 923724 - Inspect Ion stack frames in the Debugger, very carefully
https://bugzilla.mozilla.org/show_bug.cgi?id=923724
This bug is just to support very basic stack inspection. Doing anything
else with Ion frames will throw. After that, Jan and Jim will
incrementally make each Debugger.Frame feature work properly for Ion
frames instead of throwing. Inspection, eval-in-frame, stepping,
breakpoints, etc. Some debugger features will cause Ion to bail out;
details TBD.
When Ion Debugger.Frames are fully functional, the unsafe API will go
away. Bug 716647 will be fixed. Debug mode will be changed not to
inhibit Ion. Ponies for all.
The Debugger is fun to work on. Talk to Jan and Jim if you want to help.
-j
_______________________________________________
dev-tech-js-engine-internals mailing list
dev-tech-js-engine-internals@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals