[webkit-dev] WebKit Inspector - Working with Breakpoints
Charles Pritchard
chuck at jumis.com
Thu Mar 3 23:35:46 PST 2011
On 3/3/2011 6:23 AM, Patrick Mueller wrote:
> On 3/2/11 4:25 PM, Charles Pritchard wrote:
>> By enriched I mean: I'd like to be able to "save" and/or "load"
>> breakpoints.
>
> So, you'd like to be able to save some set of breakpoints (all
> the ones currently enabled?) into a file, and be able to reload
> it later?
>
> This seems like a good candidate for a debugger extension,
> whenever that facility comes on line. Doesn't seem like
> it would be useful enough function to build into the base.
>
>> And I'd like to be able to inject code into a breakpoint.
>
> Have you looked at the existing conditional breakpoint support?
> Right click over a breakpoint. I think this facility can be
> abused to do what you want.
>
> BTW, feel free to open bugs on these, of course:
>
> http://webkit.org/new-inspector-bug
>
Thanks for pointing out the conditional breakpoints, I hadn't looked at
them.
They can be abused well enough -- I don't think I can inject a "return;"
statement,
but I can certainly fiddle with things.
I'd like to be able to expose the breakpoints to the scripting environment,
don't need to save it to a file if I can expose JSON to js.
I'll keep an eye out for the debug extension facility.
I'm happy with the progress webkit inspector has made.
-Charles
More information about the webkit-dev
mailing list