Commit Graph

638 Commits

Author SHA1 Message Date
Mahdi Dibaiee
f915adbfe8 Bug 911916 - Search set to identifier under cursor if no text selected. r=vp 2014-01-23 09:39:59 -05:00
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
Anton Kovalyov
29e01f2e59 Bug 960270 - Streamline Editor API. r=msucan 2014-01-17 12:58:45 -08:00
Brandon Benvie
11a8435174 Bug 947612 - Fix VariablesView so that editableName._onCleanup is called. r=vp 2014-01-17 10:40:41 -08:00
Victor Porof
195bd90f8f Bug 960237 - Re-enable browser_dbg_break-on-dom-05.js, r=past 2014-01-16 12:36:53 +02:00
Victor Porof
57c4dc85e6 Bug 960237 - Link to this bug in debugger/test/browser.ini for re-enabling browser_dbg_break-on-dom-05.js, r=me 2014-01-15 23:09:18 +02:00
Hubert B Manilla
1cf745045b Bug 913665 - Fix wrong entity. r=fitzgen 2014-01-14 09:49:08 -05:00
Alexey Novak
af22451a0f Bug 957634: Changed Tooltip's setTextContent function signature. Now Tooltip can contain a warning image 32x32 when isAlertTooltip passed = true; r=vp 2014-01-14 08:59:43 +02:00
Alexey Novak
b23f083c73 Bug 947143 - Replaced debugger resumption order panel with an easier to maintain Tooltip.js instance; r=vporof 2014-01-09 10:11:54 +02:00
Victor Porof
d232b2d204 Bug 957187 - The variable inspection popup never appears in the right place on Linux and Windows, r=past 2014-01-08 16:59:00 +02:00
Victor Porof
2097ff17e9 Bug 943883 - DevTools themes - theme sidemenuwidget, r=bgrins, australis
--HG--
rename : browser/themes/osx/devtools/itemArrow-ltr.png => browser/themes/shared/devtools/images/itemArrow-ltr.png
rename : browser/themes/osx/devtools/itemArrow-rtl.png => browser/themes/shared/devtools/images/itemArrow-rtl.png
2014-01-07 11:58:07 +02:00
Victor Porof
fe909407a1 Bug 885294 - Immediate script selection from debugger search box is really janky and loses selection if you don't find anything, r=past 2014-01-08 10:48:32 +02:00
Anton Kovalyov
ee2d651834 Bug 956943 - Replace Editor.extendSelection with CM version. r=vporof 2014-01-07 13:01:38 -08:00
Victor Porof
b969a16707 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
b228fed188 Bug 952817 - VariablesView.createHierarchy should always be called when the view is emptied, r=benvie 2014-01-07 10:03:17 +02:00
J. Ryan Stinnett
2c70257b82 Bug 947710 - Stop evaling and catch errors in Manifest Editor. r=vporof 2014-01-06 11:14:21 -06:00
Ricardo Palomares
c91f30944f Bug 918017 - Add debugger accesskey entities and rename those that were named after ".key" but were accesskeys. r=fitzgen 2014-01-06 09:58:05 -05:00
Victor Porof
f417180c8e Bug 951633 - Fix assertion typos in browser_dbg_stack-02.js, r=past 2014-01-04 00:04:24 +02:00
Victor Porof
b8595b7dba Bug 952767 - Yield waiting for the FETCHED_VARIABLES event and fix a few typos in browser_dbg_variables-view-override-01.js, r=past 2014-01-04 00:04:23 +02:00
Victor Porof
12baaeb40f Bug 951633 - Fix tests after the WidgetMethods API changes, r=past 2014-01-03 23:42:28 +02:00
Victor Porof
ac8d0589be Bug 951633 - Drop the <xul:menulist> support for WidgetMethods, r=past 2014-01-03 23:42:16 +02:00
Victor Porof
823bbe9ec0 Bug 952767 - Variables view scopes should always be lazily populated, r=past 2014-01-03 23:41:28 +02:00
Victor Porof
6ac911b175 Bug 952734 - Sources with LabeledStatements makes ParserHelpers.getNodeLocation puke, r=past 2014-01-03 23:41:28 +02:00
Hubert B Manilla
8ddc66ac73 Bug 913665 - Detect minified files and pretty print them by default; r=fitzgen 2013-12-24 15:32:55 +01:00
Mihai Sucan
75dadac317 Bug 843004 - Part 4: Tests for pretty output of objects; r=nfitzgerald
--HG--
rename : browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js => browser/devtools/webconsole/test/browser_webconsole_output_01.js
2013-12-19 23:07:54 +02:00
Victor Porof
fa3e11b5b0 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
Albert Juhe
51ef22900b Bug 950667 - DevTools CSS - Use an attribute instead of .highlighted class for styling tabs like the paused debugger. r=bgrins 2013-12-20 11:40:21 -05:00
Victor Porof
22863da89e Bug 951828 - Always select the variables tab when pausing, r=fitzgen 2013-12-19 13:41:46 +02:00
Nick Fitzgerald
5048396367 Bug 949908 - There should be only one way to start/stop tracing in the debugger; r=vporof 2013-12-18 15:50:36 -08:00
Nick Fitzgerald
77e22fc34d Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00
Victor Porof
fc7cd3b2c8 Bug 830344 - Part 2: Implement pagination when expanding objects with lots of properties, r=past 2013-12-18 19:01:38 +02:00
Victor Porof
e0d9108917 Bug 830344 - Part 1: Remove the lazy append mechanism in the variables view, r=past 2013-12-18 19:01:38 +02:00
Victor Porof
7f8f07f4b5 Bug 950656 - The separator string between the headers name and value isn't shown, r=past 2013-12-18 19:01:38 +02:00
Ryan VanderMeulen
1c0cf8ab13 Merge m-c to fx-team. 2013-12-13 16:18:16 -05:00
Victor Porof
b212ee71eb Bug 948893 - Hovering certain bounds in a HTML source while paused in the debugger can sometimes incorrectly show a variable inspection popup, r=past 2013-12-13 22:28:04 +02:00
Victor Porof
1e7c4d60fd Bug 949968 - Intermittent TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_variables-view-override-02.js | Test timed out, r=me 2013-12-13 13:17:33 +02:00
Afshin Mehrabani
22953670ac Bug 947848 - Change the visibility of debugger stacktrace breadcrumbs. r=vp 2013-12-12 17:19:33 -05:00
Victor Porof
0f2c5d332d Bug 758157 - Clearly indicate overridden variables, r=past 2013-12-12 19:38:12 +02:00
Victor Porof
b174d98b99 Bug 949249 - Conditional breakpoint should be kept after to toggle breakpoint checkbox, r=past 2013-12-12 14:59:09 +02:00
Victor Porof
8e77993afa Bug 815280 - Add a enable/disable all breakpoints button to the sources toolbar, r=rcampbell
--HG--
rename : browser/themes/linux/devtools/blackBoxMessageEye.png => browser/themes/linux/devtools/debugger-blackboxMessageEye.png
rename : browser/themes/osx/devtools/blackBoxMessageEye.png => browser/themes/osx/devtools/debugger-blackboxMessageEye.png
rename : browser/themes/windows/devtools/blackBoxMessageEye.png => browser/themes/windows/devtools/debugger-blackboxMessageEye.png
2013-12-11 14:34:53 +02:00
Panos Astithas
c6ed34d80c Forbid out of order resumption when two tabs with the same URL are paused (bug 947830); r=fitzgen
Also consider stepping actions as a form of resumption and require the same resumption order when multiple tabs are paused.
2013-12-09 22:09:15 +02:00
Victor Porof
fb205e4386 Bug 947952 - Rename "non-*" attributes in the Variables View to avoid double negation, r=paul 2013-12-09 18:58:55 +02:00
Shu-yu Guo
68acc16209 Bug 946641 - Part 2: Revert in Debugger frontend to balance event suppression/unsuppression. (r=past) 2013-12-06 19:31:09 -08:00
Victor Porof
a0a576fa5a Bug 895143 - Sources view groups should show the domain, r=past 2013-12-06 18:34:30 +02:00
Victor Porof
c141162d31 Bug 905981 - Have a classic vertical display of stack frames persistently available in the debugger UI, r=rcampbell 2013-12-06 18:33:59 +02:00
Brian Grinstead
025328a3f1 Bug 941799 - DevTools themes - variables view should match current theme;r=vporof 2013-12-06 10:24:06 -06:00
Victor Porof
964f9d6683 Bug 946591 - Rename debugger-panel.js to just panel.js. r=past
--HG--
rename : browser/devtools/debugger/debugger-panel.js => browser/devtools/debugger/panel.js
2013-12-05 09:37:19 +02:00
Victor Porof
8eb6356a95 Bug 945482 - Intermittent browser_dbg_variables-view-popup-08.js | Should have two frames. - Got 0, expected 2 | Test timed out | Found a tab after previous test timed out, r=me 2013-12-04 10:12:05 +02:00
Brandon Benvie
b04c4c4053 Bug 808371 - Allow adding new properties to objects in the VariablesView. r=vp, r=jryans 2013-12-02 20:07:13 -08:00
Alexandre Poirot
7c0aa7b3bb Bug 931921 - Prevent creating multiple intances of global actors. r=past 2013-12-02 11:34:47 -05:00