Closed
Bug 41066
Opened 24 years ago
Closed 24 years ago
JS_ExecuteScriptPart does not cooperate with JS debugger
Categories
(Core :: JavaScript Engine, defect, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
M16
People
(Reporter: brendan, Assigned: brendan)
References
()
Details
(Keywords: js1.5)
Attachments
(1 file)
1.39 KB,
patch
|
Details | Diff | Splinter Review |
From the URL: 1) i set a callback with JSD_SetThrowHook() 2) i executed a compiled script with JS_ExecuteScriptPart( .. JSEXEC_MAIN ) . 3) the JSD throw callback was not invoked on 'throw'. 4) this did work with JS_ExecuteScript i looked inside the code. if i understood it correctly: 1) JSD uses JS_SetNewScriptHook() and JS_SetDestroyScriptHook() to set its own callbacks. 2) JS_ExecuteScriptPart executes using a temporary JSScript object. 3) JS_ExecuteScriptPart does not call the callbacks (from step 1) on the temporary JSScript. can i use JSD_ScriptCreated() and JSD_ScriptDestroyed() somehow? "itaj sherman" <MyNGs@HotMail.com>
Assignee | ||
Updated•24 years ago
|
Assignee | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
Roger, can you give me an r=? /be
Assignee | ||
Comment 3•24 years ago
|
||
Fix checked in. /be
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•