Commit Graph

214 Commits

Author SHA1 Message Date
Brian Grinstead
027c1f0249 Bug 1018955: Get rid of pause/resume button flicker when setting breakpoint;r=fitzgen 2014-06-09 08:04:18 -05:00
Brian Grinstead
09c487b66e Bug 1018955 - Fix pause/resume button flicker when debugger first loads. r=fitzgen 2014-06-05 17:03:00 +02:00
Carsten "Tomcat" Book
8b846dba4e merge fx-team to mozilla-central 2014-05-21 13:57:43 +02:00
Wes Kocher
a6bd65cf07 Bug 991797 - convert most of the debugger frontend to use Task.jsm and fix discovered async errors r=victorporof 2014-05-20 15:55:39 -07:00
James Long
203bdc87e1 Bug 799077 - slide the breakpoint with a CSS transition when the server moves it r=past 2014-05-08 14:57:00 +02:00
Victor Porof
ffaaf21a54 Bug 1006589 - (relanded) Hovering an identifier will sometimes remove the highlighting of the line where the debugger is paused, r=rcampbell 2014-05-08 22:14:42 -04:00
James Long
4bc24b26eb Bug 995252 - Always remove a breakpoint and create a new one when setting the condition. r=past 2014-05-07 11:41:00 -04:00
Carsten "Tomcat" Book
ea64f8f5ef Backed out changeset df8bf3b71adb (bug 1006589) for frequent dt1 test failures 2014-05-08 09:26:29 +02:00
Victor Porof
b42dc70b17 Bug 1006589 - Hovering an identifier will sometimes remove the highlighting of the line where the debugger is paused, r=rcampbell 2014-05-07 09:38:17 -04:00
Victor Porof
e35550187d Bug 1006489 - Scopes in the debugger don't always reexpand after stepping, r=rcampbell 2014-05-07 09:38:16 -04:00
Shu-yu Guo
b869c9a73e Bug 717749 - Part 2: Hook up the debugger to the slow script debug service. (r=past) 2014-05-20 18:27:25 -07:00
Paolo Amadini
6d99e32a9f Bug 995184 - Copy the legacy "promise.js" implementation from the Add-on SDK to devtools. r=past 2014-04-22 20:55:01 +01:00
James Long
e04fcf02a9 Bug 812172 - Add conditional breakpoint handling to the debugger client. r=vp 2014-04-04 08:27:57 -04:00
Panos Astithas
3d6ccc60f1 Fix a typo in error reporting when attaching to the tracer (bug 989627). r=vporof 2014-04-03 16:59:46 +03:00
Dave Townsend
fb04fd3a86 Bug 986838: Add-on SDK modules should be listed after the add-on's own modules. r=fitzgen 2014-03-27 11:35:14 -07:00
Jordan Santell
13e58e7f00 Bug 911098 - Implement Addon Debugger UI, r=fitzgen,harthur,mossop
From 8af4148dc10f18bf67e39442ee93169cb66382d5 Mon Sep 17 00:00:00 2001
---
 browser/devtools/debugger/debugger-controller.js   |  36 ++++++-
 browser/devtools/debugger/debugger-panes.js        |  17 +++-
 browser/devtools/debugger/test/browser.ini         |   1 +
 .../debugger/test/browser_dbg_addon-sources.js     | 108 ++++++++++++++++++++
 browser/devtools/debugger/test/head.js             |  29 ++++++
 browser/devtools/framework/ToolboxProcess.jsm      |  31 ++++--
 .../devtools/framework/toolbox-process-window.js   |  18 +++-
 modules/libpref/src/init/all.js                    |   3 +
 .../en-US/chrome/mozapps/extensions/extensions.dtd |   1 +
 toolkit/mozapps/extensions/content/extensions.js   |  55 +++++++---
 toolkit/mozapps/extensions/content/extensions.xml  |  31 +++++-
 toolkit/mozapps/extensions/content/extensions.xul  |   6 ++
 .../mozapps/extensions/internal/XPIProvider.jsm    |   4 +
 .../extensions/internal/XPIProviderUtils.js        |   2 +-
 .../test/addons/test_jetpack/bootstrap.js          |  17 ++++
 .../test/addons/test_jetpack/harness-options.json  |   1 +
 .../test/addons/test_jetpack/install.rdf           |  28 ++++++
 .../extensions/test/browser/browser-common.ini     |   1 +
 .../test/browser/browser_debug_button.js           | 112 +++++++++++++++++++++
 toolkit/mozapps/extensions/test/browser/head.js    |   3 +
 .../extensions/test/xpcshell/test_isDebuggable.js  |  36 +++++++
 .../extensions/test/xpcshell/xpcshell-shared.ini   |   1 +
 22 files changed, 508 insertions(+), 33 deletions(-)
 create mode 100644 browser/devtools/debugger/test/browser_dbg_addon-sources.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/bootstrap.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/harness-options.json
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/install.rdf
 create mode 100644 toolkit/mozapps/extensions/test/browser/browser_debug_button.js
 create mode 100644 toolkit/mozapps/extensions/test/xpcshell/test_isDebuggable.js
* * *
Leak fix
2014-03-25 10:59:14 -07:00
Wes Kocher
d02d099208 Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE 2014-03-24 18:36:42 -07:00
Jordan Santell
817da65e8e Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur 2014-03-24 15:35:44 -07:00
Stefan Alderson
18ffdf795d Bug 960905 - DevToolsUtils.reportException is misused in Tracer.prototype. r=fitzgen 2014-03-03 10:33:58 -05:00
Tim Taubert
76c5f12234 Bug 978541 - Use delegating yield for debugger-controller.js r=past 2014-03-02 10:34:05 +01:00
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