RESOLVED FIXED 58996
Web Inspector: [protocol] Paused event should expose exception value that caused it
https://bugs.webkit.org/show_bug.cgi?id=58996
Summary Web Inspector: [protocol] Paused event should expose exception value that cau...
Peter Rybin
Reported 2011-04-20 08:47:56 PDT
The protocol allows "pause on exception" mode. When this is enabled, JavaScript VM pauses on exception being thrown and WebKit sends "Paused" event. However there is no information about exception being thrown. The protocol should give full access to the exception value (with its properties, type etc).
Attachments
Patch (30.32 KB, patch)
2011-04-26 07:35 PDT, Yury Semikhatsky
no flags
Patch (32.83 KB, patch)
2011-04-26 08:41 PDT, Yury Semikhatsky
no flags
Patch (33.62 KB, patch)
2011-04-26 08:44 PDT, Yury Semikhatsky
no flags
Patch (33.59 KB, patch)
2011-04-27 00:39 PDT, Yury Semikhatsky
pfeldman: review+
Patch for landing (31.86 KB, patch)
2011-04-27 01:42 PDT, Yury Semikhatsky
no flags
Yury Semikhatsky
Comment 1 2011-04-26 07:35:25 PDT
Build Bot
Comment 2 2011-04-26 07:56:23 PDT
Yury Semikhatsky
Comment 3 2011-04-26 08:41:52 PDT
Yury Semikhatsky
Comment 4 2011-04-26 08:44:35 PDT
Build Bot
Comment 5 2011-04-26 09:20:55 PDT
Yury Semikhatsky
Comment 6 2011-04-27 00:39:49 PDT
Pavel Feldman
Comment 7 2011-04-27 01:28:33 PDT
Comment on attachment 91246 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=91246&action=review > Source/WebCore/bindings/v8/ScriptDebugServer.cpp:221 > + contextScope.set(new v8::Context::Scope(v8::Debug::GetDebugContext())); Poor merge? > Source/WebCore/bindings/v8/ScriptDebugServer.cpp:341 > + if (!exceptionGetterValue.IsEmpty() && exceptionGetterValue->IsFunction()) { Could you put ASSERT here?
Yury Semikhatsky
Comment 8 2011-04-27 01:42:46 PDT
Created attachment 91255 [details] Patch for landing All comments have been addressed.
Yury Semikhatsky
Comment 9 2011-04-27 01:55:42 PDT
WebKit Review Bot
Comment 10 2011-04-27 02:25:26 PDT
http://trac.webkit.org/changeset/85035 might have broken Chromium Linux Release
Note You need to log in before you can comment on or make changes to this bug.