[Webkit-unassigned] [Bug 53003] Web Inspector: [JSC] implement setting breakpoints by line:column

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 26 23:11:30 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=53003





--- Comment #37 from Peter Wang <peter.wang at torchmobile.com.cn>  2012-06-26 23:11:29 PST ---
(In reply to comment #36)
> > > > Source/WebCore/bindings/js/ScriptDebugServer.cpp:157
> > > > +    int nextColumn = codeInLine.find(";", m_currentStatementPosition.columnNumber);(In reply to comment #35)
> 
> > > I doubt it. E.g. how can you tell in ScriptDebugServer which column is going to be next in the following statement: "if (foo()) { bar(); } else { baz(); }" ?
> > Yes, my code is failed with that case. I thought JSC will take code inside curved parentheses as a code-block. I'm wrong :(. Maybe, it's impossible to solve it keeping JSC unchanged?
> 
> How about this code:
>   var a = "a string; <- with a semicolon";

Yes, I see. Thx. Maybe, let JSC rather than Debugger to provide "column" is the only right way. I have to investigate JSC...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list