Bug 41861
| Summary: | JavaScriptCore needs a debugger for debugging stand-alone (non-browser) scripts | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dan Wood <dwood> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Enhancement | CC: | ggaren |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.6 | ||
Dan Wood
Summary:
If you are trying to write and debug some JavaScript code that is intended to be run from JavaScriptCore, and *not* from within a browser window, there does not seem to be way to attach the JavaScript debugger, now that Drosera has been folded into Safari.
Steps to Reproduce:
1. Write a Cocoa Application that executes some JavaScript code via JavaScriptCore methods.
2. Try to debug it.
Expected Results:
You should be able to somehow attach a JavaScript debugger so you can step through your code, examine global variables, etc.
Actual Results:
You can't. (Unless the debugger and instructions on how to attach it are hidden away!)
Regression:
I think that when Drosera was a stand-alone application, you could do this. But Drosera isn't part of the webkit nightlies anymore and the old version I tried crashes.
Notes:
JavaScript is DA FUTURE so we gotta figure out how to debug it!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |