Comment #2 on issue 1853 by [email protected]: Debug.ScriptBreakPointType.ScriptRegExp breakpoints not updated afterCompile
http://code.google.com/p/v8/issues/detail?id=1853

Use case:
Breakpoint set with partial filename provided in ScriptRegExp. (the file has not been compiled as yet)
File is compiled and breakpoint should be hit when the script is executed.

Current scenario:
Breakpoint set with partial filename provided in ScriptRegExp. (the file has not been compiled as yet)
File is compiled and breakpoint is not hit when the script is executed.

What works currently:
Breakpoint set with complete filepath provided in ScriptName. (the file has not been compiled as yet)
File is compiled and breakpoint is hit when the script is executed.

Problem:
It is not possible to know complete filepath for the file beforehand. Hence, setting the filename or relative filepath using ScriptRegExp.

http://codereview.chromium.org/7200024 introduced ScriptRegExp to extend setBreakpoint API to accept partial script name as a parameter. Hence, the same logic of updating breakpoints on compiling scripts should apply.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to