Commit Graph

194 Commits

Author SHA1 Message Date
J. Ryan Stinnett
88ab23fb47 Bug 965157 - Remove standalone chrome debugger code paths. r=vporof 2014-02-26 22:33:35 -06:00
Hubert B Manilla
a06cffe4f5 Bug 943356 - Prettifing a source while paused will not switch away from it. r=fitzgen 2014-02-27 11:39:56 -05:00
Nick Fitzgerald
0a7ee136e2 Bug 974159 - debugger-controller.js should use ES6 iterators instead of old style iterators; r=past 2014-02-26 19:57:46 -08:00
J. Ryan Stinnett
26967f4282 Bug 976679 - Move event-emitter to toolkit. r=paul 2014-02-25 22:22:05 -06:00
Panos Astithas
416512ec68 The debugger shouldn't try to connect to the tracer actor if it is not present or if tracing is disabled (bug 970536). r=fitzgen 2014-02-13 09:18:36 +02:00
Ryan VanderMeulen
9cb1e54009 Backed out changeset 2b95fec2f1f5 (bug 970536) for mochitest-bc failures.
CLOSED TREE
2014-02-12 08:19:05 -05:00
Panos Astithas
5a09478eeb The debugger shouldn't try to connect to the tracer actor if it is not present or if tracing is disabled (bug 970536). r=fitzgen 2014-02-12 12:40:52 +02:00
J. Ryan Stinnett
f5d6e8ec2a Bug 919819 - Detect JS files from fetched content type. r=fitzgen 2014-02-11 15:35:11 -06:00
Panos Astithas
d65d1ad5e5 Keep populating the Events pane even in the presence of event listeners with no associated Debugger.Script (bug 942899). r=vporof 2014-02-06 18:33:26 +02:00
Hubert B Manilla
5cb9c4fdbb Bug 927673 - Fix forPage has no sources showing when debugger is loading. r=fitzgen 2014-02-06 10:04:13 -05:00
Victor Porof
9a5ec580a2 Bug 965171 - Opening a variables view popup will change the scroll position in the editor if a watch expression is present, r=past 2014-01-30 12:46:09 +02:00
Panos Astithas
8609912471 Make the debugger frontend cope with an already connected target (bug 933212); r=jryans,fitzgen
* Made the DebuggerClient, which is actually the RootActor front, not consider one of the attached child fronts as "active". Since a single DebuggerClient (or RootFront) is kept around for the App Manager's lifetime, it makes sense to move the notion of "active" tab to the toolbox's target. As each toolbox gets destroyed, the fronts should be detaching from their actors (if they are stateful) so that the app is no longer in a debugging state. Debugging a new app (or reconnecting to a previous one) will create new fronts anyway.
* Slightly refactored the TabClient, ThreadClient, SourceClient and TracerClient towards a protocol.js-based architecture, by adding parent-child references and lifecycle management. Now a tab-scoped thread actor for instance has the tab as its parent, while a global-scoped thread actor (chrome debugger) has the DebuggerCLient (RootFront) as its parent. This lets parents reference their children, so that caching in the target object can work. It also allowed me to move some methods from the DebuggerClient to the actual front that should be responsible, like reconfigureTab, reconfigureThread and attachThread. These methods now use DebuggerClient.requester, too.
* Added some error handling in the debugger client requester around "before" and "after" callbacks, which exposed some errors in tests that are now fixed.
* Fixed the state handling in the thread actor so that merely detaching from a thread doesn't put it in the exited state. This is the part that what was necessary for Firebug's use case.
* Properly loading tracer and webgl actors now on b2g.
2014-01-14 17:39:40 +02:00
Victor Porof
58d2e24191 Bug 951795 - Use WidgetMethod's empty text attribute instead of a deck in the tracer, r=fitzgen 2014-01-07 11:57:00 +02:00
Victor Porof
7f46fe1d07 Bug 952817 - VariablesView.createHierarchy should always be called when the view is emptied, r=benvie 2014-01-07 10:03:17 +02:00
Victor Porof
dbcc001303 Bug 951633 - Drop the <xul:menulist> support for WidgetMethods, r=past 2014-01-03 23:42:16 +02:00
Victor Porof
869e6781bc Bug 952767 - Variables view scopes should always be lazily populated, r=past 2014-01-03 23:41:28 +02:00
Hubert B Manilla
e5a569a1a0 Bug 913665 - Detect minified files and pretty print them by default; r=fitzgen 2013-12-24 15:32:55 +01:00
Victor Porof
b3828fe0f5 Bug 952421 - Disabling and re-enabling a breakpoint turns it into a conditional breakpoint with an undefined expression, r=past 2013-12-20 19:05:18 +02:00
Nick Fitzgerald
3930bddb92 Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00
Victor Porof
bc7b3f9fe5 Bug 949249 - Conditional breakpoint should be kept after to toggle breakpoint checkbox, r=past 2013-12-12 14:59:09 +02:00
Victor Porof
b3f13b03f6 Bug 815280 - Add a enable/disable all breakpoints button to the sources toolbar, r=rcampbell 2013-12-11 14:34:53 +02:00
Victor Porof
a16b54f6f6 Bug 725235 - In the debugger, show a details bubble while hovering over a variable or property in the source editor, r=past,rcampbell 2013-11-29 16:47:52 +02:00
Nick Fitzgerald
a5118d315b Bug 917583 - part 2: request definitionSite before adding listeners to the view; r=vporof 2013-11-05 17:28:00 -08:00
Nick Fitzgerald
9b55175b36 Bug 917072 - Move black box eyeball into sources toolbar; r=vporof 2013-10-23 02:10:08 -07:00
Anton Kovalyov
459525119e Bug 919709 - Make Debugger use CodeMirror. r=vporof 2013-10-22 13:53:53 -07:00
Gijs Kruitbosch
bccc0a50a7 Bug 927605 - refactor keyboard shortcut code in devtools into a JSM, r=Unfocused,vporof 2013-10-20 22:50:37 +02:00
Nick Fitzgerald
86019e939e Bug 916180 - Make pretty printing toggle-able; r=vporof 2013-10-22 00:04:46 -07:00
Victor Porof
14993f15f4 Bug 927375 - Debugger UI should be responsive when docked to the side, r=fitzgen 2013-10-19 12:26:46 +03:00
Nick Fitzgerald
2328fbc55e Bug 921630 - Show progress indicator while pretty printing; r=vporof 2013-10-14 13:06:50 -07:00
Nick Fitzgerald
0233c59c83 Bug 924442 - Disallow pretty printing when a source is black boxed; r=vporof 2013-10-14 11:44:00 -07:00
Nick Fitzgerald
8962f9dddd Bug 925073 - Create a pref to enable/disable pretty printing in the UI; r=vporof 2013-10-11 13:52:50 -07:00
Victor Porof
2a79f64c5f Bug 919155 - After editing a source, it takes multiple page refreshes for the text contents to get updated in the debugger, r=rcampbell 2013-10-04 10:33:08 +03:00
Victor Porof
a21bdf0972 Bug 800857 - Add tests, r=rcampbell 2013-10-04 10:33:08 +03:00
Victor Porof
c0159af9b6 Bug 800857 - Implement debugger frontend for breaking on dom events, r=rcampbell 2013-10-04 10:33:08 +03:00
Victor Porof
5265f1f71a Bug 918797 - Trying to prettify html irrevocably loses the source until the page is refreshed (relanded), r=fitzgen 2013-09-22 19:03:15 +03:00
Victor Porof
0a4d81069c Backed out bug 918797, r=me 2013-09-21 19:07:52 +03:00
Victor Porof
b32016db49 Bug 918797 - Trying to prettify html irrevocably loses the source until the page is refreshed, r=fitzgen 2013-09-21 10:18:32 +03:00
Anton Kovalyov
b489d46929 Bug 912260 - Make Scratchpad use CodeMirror. r=robcee r=msucan 2013-09-20 11:34:10 -07:00
Nick Fitzgerald
f1fd7888d7 Bug 762761 - part 2: front end changes for debugger pretty printing; r=vporof 2013-09-18 17:56:20 -07:00
Victor Porof
b4928c7099 Bug 901271 - Preserve disabled breakpoints and re-add them in the views after a target navigation, r=fitzgen 2013-09-14 12:34:08 +03:00
Victor Porof
983004a02c Bug 901271 - Remove actor id dependencies from the debugger breakpoints view, r=fitzgen 2013-09-14 12:34:07 +03:00
Victor Porof
1424cd3d51 Bug 876277 - Rewrite head.js to use promises and remove useless cruft, r=past 2013-09-13 16:23:16 +03:00
Victor Porof
0827766e6d Bug 876277 - Convert the debugger frontend to use the EventEmitter instead of relying on DOM events, r=past 2013-09-13 16:23:14 +03:00
Victor Porof
ef37026595 Bug 891439 - Standardize the sheduleSearch/performSearch methods, r=past 2013-09-13 16:23:13 +03:00
Victor Porof
b6cfff8e43 Bug 886848 - Cleanup, fix other typos, rename a few variables for consistency, r=past 2013-09-13 16:23:13 +03:00
Victor Porof
ca66242d08 Bug 886848 - Convert the editor to rely more on Promises, r=past 2013-09-13 16:23:13 +03:00
Victor Porof
c8d281b316 Bug 886848 - Convert the debugger frontend to use the new breakpoint APIs, r=past 2013-09-13 16:23:12 +03:00
Victor Porof
d973cc9bde Bug 886848 - Remove _skipEditorBreakpointCallbacks since it's redundant after using promises when handling breakpoints, r=past 2013-09-13 16:23:12 +03:00
Victor Porof
503847f9aa Bug 886848 - Convert the breakpoints in the controller to use promises, r=past 2013-09-13 16:23:12 +03:00
Victor Porof
df87abf03e Bug 886848 - Chain promises on debugger initialization/destruction to remove some redundancy, r=past 2013-09-13 16:23:11 +03:00