RESOLVED FIXED136893
Web Inspector: Should be able to attach a debugger to a JSContext before anything is executed
https://bugs.webkit.org/show_bug.cgi?id=136893
Summary Web Inspector: Should be able to attach a debugger to a JSContext before anyt...
Joseph Pecoraro
Reported 2014-09-17 12:26:40 PDT
A shortcoming of JSContext inspection right now is that by the time you attach an Inspector you may have missed something (e.g. some evaluateScript invocations). There should be a way to have a debugger attach to a JSContext before any evaluations happens.
Attachments
[PATCH] Proposed Fix (36.22 KB, patch)
2014-09-18 11:51 PDT, Joseph Pecoraro
no flags
[PATCH] For Bots 1 (39.90 KB, patch)
2014-09-18 16:24 PDT, Joseph Pecoraro
joepeck: commit-queue-
[PATCH] For Bots 2 (39.93 KB, patch)
2014-09-18 17:51 PDT, Joseph Pecoraro
no flags
[PATCH] Proposed Fix (39.97 KB, patch)
2014-09-22 15:02 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2014-09-17 12:27:16 PDT
Joseph Pecoraro
Comment 2 2014-09-18 11:51:06 PDT
Created attachment 238316 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 3 2014-09-18 11:52:37 PDT
Attachment 238316 [details] did not pass style-queue: ERROR: Source/WTF/wtf/Assertions.cpp:399: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] ERROR: Source/WTF/wtf/Assertions.cpp:401: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] ERROR: Source/JavaScriptCore/runtime/JSGlobalObjectDebuggable.cpp:31: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 3 in 22 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 4 2014-09-18 12:48:04 PDT
Comment on attachment 238316 [details] [PATCH] Proposed Fix Clearing flags on attachment: 238316 Committed r173731: <http://trac.webkit.org/changeset/173731>
WebKit Commit Bot
Comment 5 2014-09-18 12:48:07 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 6 2014-09-18 14:15:45 PDT
(In reply to comment #4) > (From update of attachment 238316 [details]) > Clearing flags on attachment: 238316 > > Committed r173731: <http://trac.webkit.org/changeset/173731> It broke the Apple Windows, GTK and EFL build, please fix them.
Joseph Pecoraro
Comment 7 2014-09-18 15:07:22 PDT
(In reply to comment #6) > (In reply to comment #4) > > (From update of attachment 238316 [details] [details]) > > Clearing flags on attachment: 238316 > > > > Committed r173731: <http://trac.webkit.org/changeset/173731> > > It broke the Apple Windows, GTK and EFL build, please fix them. Rolled out in r173736: <http://trac.webkit.org/changeset/173736>. Commit-queue beat the EWS bots. I'll address this using EWS to test.
Joseph Pecoraro
Comment 8 2014-09-18 15:07:46 PDT
Reopening because this was rolled out.
Joseph Pecoraro
Comment 9 2014-09-18 16:24:24 PDT
Created attachment 238332 [details] [PATCH] For Bots 1 I will need the Win EWS to give me the new symbol name. This should fix style and EFL.
WebKit Commit Bot
Comment 10 2014-09-18 16:26:59 PDT
Attachment 238332 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/JSGlobalObjectDebuggable.cpp:31: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 25 files If any of these errors are false positives, please file a bug against check-webkit-style.
Joseph Pecoraro
Comment 11 2014-09-18 17:51:52 PDT
Created attachment 238341 [details] [PATCH] For Bots 2 Windows bot failed without the patch. Trying Windows again.
Joseph Pecoraro
Comment 12 2014-09-22 15:02:28 PDT
Created attachment 238498 [details] [PATCH] Proposed Fix This should get things working for windows now.
WebKit Commit Bot
Comment 13 2014-09-23 11:38:32 PDT
Comment on attachment 238498 [details] [PATCH] Proposed Fix Clearing flags on attachment: 238498 Committed r173882: <http://trac.webkit.org/changeset/173882>
WebKit Commit Bot
Comment 14 2014-09-23 11:38:37 PDT
All reviewed patches have been landed. Closing bug.
Brent Fulgham
Comment 15 2014-09-23 16:28:06 PDT
The mangled symbol name for 64-bit Windows is wrong, breaking the build. I'll check-in a fix as soon as my local build finishes.
Joseph Pecoraro
Comment 16 2014-09-23 16:40:43 PDT
(In reply to comment #15) > The mangled symbol name for 64-bit Windows is wrong, breaking the build. I'll check-in a fix as soon as my local build finishes. Doh! Thanks.
Brent Fulgham
Comment 17 2014-09-23 16:59:58 PDT
Build fix for 64-bit Windows committed in r173900 <http://trac.webkit.org/changeset/173900>.
Note You need to log in before you can comment on or make changes to this bug.