Commit Graph

60 Commits

Author SHA1 Message Date
Panos Astithas
71a3267914 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
Alexandre Poirot
48556f4145 Bug 952214 - Re-enable webapps actor mochitest on b2g desktop and cover shell.js debugger server initialization. r=paul 2014-01-13 08:44:47 -05:00
Nick Fitzgerald
384864b692 Bug 958303 - Remove named function expressions from dbg-client.jsm; r=benvie 2014-01-09 15:06:44 -08:00
Michael Ratcliffe
324d5e55ba Bug 864098 - Add "Disable Cache" to options panel r=jwalker
--HG--
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs.html => browser/devtools/framework/test/browser_toolbox_options_disable_js.html
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs.js => browser/devtools/framework/test/browser_toolbox_options_disable_js.js
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs_iframe.html => browser/devtools/framework/test/browser_toolbox_options_disable_js_iframe.html
2013-12-18 09:34:49 +00:00
Carsten "Tomcat" Book
63b88cc2fa Backed out changeset 812c5f165aca (bug 864098) for XPC Bustage on a CLOSED TREE
--HG--
rename : browser/devtools/framework/test/browser_toolbox_options_disable_js.html => browser/devtools/framework/test/browser_toolbox_options_disablejs.html
rename : browser/devtools/framework/test/browser_toolbox_options_disable_js.js => browser/devtools/framework/test/browser_toolbox_options_disablejs.js
rename : browser/devtools/framework/test/browser_toolbox_options_disable_js_iframe.html => browser/devtools/framework/test/browser_toolbox_options_disablejs_iframe.html
2013-12-17 13:58:55 +01:00
Michael Ratcliffe
63a781b7e1 Bug 864098 - Add "Disable Cache" to options panel r=jwalker
--HG--
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs.html => browser/devtools/framework/test/browser_toolbox_options_disable_js.html
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs.js => browser/devtools/framework/test/browser_toolbox_options_disable_js.js
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs_iframe.html => browser/devtools/framework/test/browser_toolbox_options_disable_js_iframe.html
2013-12-17 10:58:21 +00:00
Nick Fitzgerald
a2a542160e Bug 942362 - Use DevToolsUtils.reportException in dbg-client.jsm; r=past 2013-11-25 10:31:46 -08:00
Nick Fitzgerald
c0f4a99497 Bug 934163 - Improve performance of tracer actors; r=past 2013-11-25 10:11:53 -08:00
Nick Fitzgerald
1de3dd2731 Bug 917583 - part 1: make function's definition site its own request in the RDP; r=past 2013-11-05 16:40:00 -08:00
Jim Blandy
f5fe246dd7 Bug 919349: Remove infelicitous uses of 'delete' from the JavaScript debugger server. r=dcamp 2013-10-27 11:03:20 -07:00
Brian Grinstead
8791b527bc Bug 895561 - 'Edit As HTML' option in the markup view - toolkit changes, r=fitzgen 2013-10-23 11:53:39 -05:00
Paul Rouget
da1ab9e787 Bug 926371 - show reflow events in the webconsole. r=msucan 2013-10-22 08:43:00 +01:00
Alexandre Poirot
49a86202c5 Bug 921850 - Fix races in debugger client when connecting agressively r=past 2013-10-21 01:56:00 +03:00
Nick Fitzgerald
546559a6e0 Bug 916180 - Make pretty printing toggle-able; r=vporof 2013-10-22 00:04:46 -07:00
Paul Rouget
64c0952eb9 Bug 919981 - Dispatch app (un)install events via the webapps actor. r=fabrice 2013-10-04 13:01:14 -04:00
Panos Astithas
ada503a56a Bug 810966 - Display closed over variables in the variables view for functions that are not stack frames; r=vporof,msucan 2013-09-25 19:03:17 +03:00
Hubert B Manilla
b88c2b0ad4 Bug 907755 - Added telemetry probes to measure how long it takes to display a selected source text to the user; r=fitzgen 2013-09-23 13:03:25 -07:00
Alexandre Poirot
4a8ab04856 Bug 912475 - Use promise for async install request instead of sending events. r=past 2013-09-15 14:08:00 +03:00
Nick Fitzgerald
a905799f48 Bug 762761 - add prettyPrint request to the remote debugging protocol server/client; r=past 2013-09-11 10:15:51 -07:00
Ed Morley
28a868781a Merge mozilla-central and fx-team 2013-09-05 14:54:06 +01:00
Paul Rouget
6cd7501f9e Bug 912447 - [app manager] land the app manager front end. r=poirot.alex r=mratcliffe 2013-09-05 15:15:37 +02:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Eddy Bruel
121849adfe Bug 906963 - Add a flag to pauseOnExceptions to optionally ignore caught exceptions. 2013-08-30 10:55:41 +02:00
Jake Bailey
b36c3245a2 Bug 907289 - Trace client should always emit enteredFrame and exitedFrame events in sequence order. r=fitzgen 2013-08-20 15:52:00 +02:00
Alexandre Poirot
3906149256 Bug 902910 - Offer a way for simulator addon to integrate itself with the connection footer. r=paul 2013-08-29 03:01:00 +02:00
Phil Ringnalda
0267f47531 Merge m-i to m-c 2013-08-25 08:20:24 -07:00
Nick Fitzgerald
fb564e9cd4 Bug 882795 - source responses in the RDP should include a contentType property; r=vporof 2013-08-23 15:04:03 -07:00
Eddy Bruel
ed76c00d48 Bug 899052 - Implement the listAddons request; r=fitzgen 2013-08-24 01:33:46 +02:00
Paul Rouget
c446e895d6 Bug 898485 - [app manager] Implement an abstract connection manager. r=past 2013-08-21 08:56:40 +02:00
Mike Hordecki
a9e5e62e18 Bug 795979 - RDP, new packet type: getObjectsProperties. r=past 2013-08-20 13:32:04 +01:00
Anup Allamsetty
b3894384dc Bug 903511 - Rename "GripClient" to "ObjectClient". r=fitzgen 2013-08-13 12:08:30 -04:00
Mihai Sucan
f0c3ce2c9b Bug 877262 - Part 2: move the Web Console files over to the new jetpack-based loader; r=dcamp
--HG--
rename : browser/devtools/shared/AutocompletePopup.jsm => browser/devtools/shared/autocomplete-popup.js
rename : browser/devtools/webconsole/HUDService.jsm => browser/devtools/webconsole/hudservice.js
rename : browser/devtools/webconsole/NetworkPanel.jsm => browser/devtools/webconsole/network-panel.js
rename : browser/devtools/webconsole/WebConsolePanel.jsm => browser/devtools/webconsole/panel.js
rename : toolkit/devtools/webconsole/WebConsoleClient.jsm => toolkit/devtools/webconsole/client.js
rename : toolkit/devtools/webconsole/NetworkHelper.jsm => toolkit/devtools/webconsole/network-helper.js
rename : toolkit/devtools/webconsole/WebConsoleUtils.jsm => toolkit/devtools/webconsole/utils.js
2013-08-03 13:29:48 +03:00
Nick Fitzgerald
6d3dd046dd Bug 895543 - part 1: cache SourceClient instances; r=robcee 2013-07-30 20:36:12 -07:00
Jake Bailey
d1e8b62eac Bug 887027 - Implement a tracing profiler actor; r=past,robcee 2013-07-30 19:09:29 -07:00
Nick Fitzgerald
22b9456d34 Bug 892605 - part 2: add 'dbg blackbox' and 'dbg unblackbox' gcli commands; r=vporof 2013-07-27 10:50:57 -07:00
Nick Fitzgerald
f755d9cf2e Bug 892605 - part 1: move the BlackBoxChange DOM event to blackboxchange thread client event; r=vporof 2013-07-27 10:49:45 -07:00
Nick Fitzgerald
e963ddf74d Bug 860035 - script actors should handle breakpoints with columns; r=jimb 2013-07-24 17:46:49 -07:00
Brandon Benvie
346b1b7b37 bug 825039 - Make Scratchpad execute in context of current debugger; r=rcampbell,msucan,past 2013-07-23 09:58:27 -07:00
Panos Astithas
d3b827e6e4 Implement backend support for breaking on DOM events and retrieving all the event listeners on a page (bug 832982); r=rcampbell,smaug 2013-07-18 14:14:16 +03:00
Panos Astithas
eedfc10df3 Rename Promise to promise to avoid collisions with the forthcoming DOM Promise implementation (bug 885318); r=jwalker 2013-07-11 10:12:20 +03:00
Panos Astithas
d69a79ac07 Bug 882538 - Add reload() and navigateTo() methods to BrowserTabActor; r=rcampbell 2013-06-28 10:53:00 +03:00
Panos Astithas
6d54d55c04 Bug 870128 - Pause on exceptions doesn't work after reload; r=rcampbell 2013-07-09 10:57:13 +03:00
Brandon Benvie
61cf375a12 Bug 888399 - Fix missing parenthesis in DebuggerClient.Argument.prototype.getArgument. r=dcamp 2013-06-28 11:25:57 -07:00
Alexandre Poirot
4bdd89cf92 Bug 882760: Fix devtool's JSM global issue on b2g; r=jimb 2013-06-22 09:01:12 -04:00
Dave Camp
26d4bf3695 Bug 866306 - Add a library to make devtools protocol interaction a bit easier. r=jimb
--HG--
extra : rebase_source : 1b8d8b42ccea6bfea01297a16a561e55f192d554
2013-06-06 12:29:27 -07:00
Jim Blandy
f4a077b474 Bug 878958: Handle a greeting packet as if it were reply from the root actor. r=dcamp 2013-06-14 13:14:30 -07:00
Jim Blandy
16dcb1adbf Bug 878958: Separate out a function for setting reply handlers. r=dcamp 2013-06-14 13:14:30 -07:00
Jim Blandy
9aec8ae7a0 Bug 878958: In DebuggerClient, substitute mainRoot for _connected. r=dcamp 2013-06-14 13:14:30 -07:00
Jim Blandy
be21d9b119 Bug 878958: Use a Map to map actor names to reply handlers, not an object. r=dcamp 2013-06-14 13:14:30 -07:00
Jim Blandy
47b154683d Bug 878958: Use arrow functions in JS debugger client code. r=dcamp 2013-06-14 13:14:30 -07:00