Panos Astithas
67d9645439
Wait a turn of the event loop if CodeMirror isn't settled by the time breakpoints are being set (bug 1016310). r=vporof
...
--HG--
extra : rebase_source : 652e9075f33e807a4cbd55cf3074ad910a59e8c4
2014-07-09 18:49:34 +03:00
Nick Fitzgerald
7a0daed0db
Bug 1032379 - Automatically black box sources whose URL ends with '.min.js'. r=past
2014-07-03 09:44:00 -04:00
Panos Astithas
b3626f121c
Avoid a race in CodeMirror initialization when setting breakpoints and don't let ESC stop navigation if the debugger is paused (bug 957174). r=vporof
...
--HG--
extra : rebase_source : 475e7969d92e237c7b38713cab8feb6d6464bb70
2014-06-19 10:15:14 +03:00
Victor Porof
f2a44d0485
Bug 1034129 (relanded) - Event listeners should be clustered together by type in the events pane, r=past
2014-07-04 14:54:49 -04:00
Carsten "Tomcat" Book
2d56a30986
Backed out changeset 0685c59d2e94 (bug 1034129) for dt test failures
2014-07-04 15:57:55 +02:00
Victor Porof
732b19d6b8
Bug 1034129 - Event listeners should be clustered together by type in the events pane, r=past
2014-07-04 08:19:38 -04:00
Jim Blandy
4d6a633bba
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Brian Grinstead
9b87a86a9b
Bug 1018955: Get rid of pause/resume button flicker when setting breakpoint;r=fitzgen
2014-06-09 08:04:18 -05:00
Brian Grinstead
2fa7beebc3
Bug 1018955 - Fix pause/resume button flicker when debugger first loads. r=fitzgen
2014-06-05 17:03:00 +02:00
Carsten "Tomcat" Book
e52ec8ff1a
merge fx-team to mozilla-central
2014-05-21 13:57:43 +02:00
Wes Kocher
5c2407243c
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
6e76e84a1e
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
7083f83db5
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
fa08d3e84c
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
978cb2cd2a
Backed out changeset df8bf3b71adb (bug 1006589) for frequent dt1 test failures
2014-05-08 09:26:29 +02:00
Victor Porof
8561753870
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
cf39db4063
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
0e3c29e660
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
60d8bb5bf9
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
6f3e0f15dd
Bug 812172 - Add conditional breakpoint handling to the debugger client. r=vp
2014-04-04 08:27:57 -04:00
Panos Astithas
8942fcf8d9
Fix a typo in error reporting when attaching to the tracer (bug 989627). r=vporof
...
--HG--
extra : rebase_source : 59547f9b8f21bc4205b358701d1c9aa900049e81
2014-04-03 16:59:46 +03:00
Dave Townsend
7ad941322a
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
ac741bf517
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
53863d5dcd
Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE
2014-03-24 18:36:42 -07:00
Jordan Santell
2236d55a6a
Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur
2014-03-24 15:35:44 -07:00
Stefan Alderson
38f2718b14
Bug 960905 - DevToolsUtils.reportException is misused in Tracer.prototype. r=fitzgen
2014-03-03 10:33:58 -05:00
Tim Taubert
6388df5b15
Bug 978541 - Use delegating yield for debugger-controller.js r=past
2014-03-02 10:34:05 +01:00
J. Ryan Stinnett
280881cba3
Bug 965157 - Remove standalone chrome debugger code paths. r=vporof
2014-02-26 22:33:35 -06:00
Hubert B Manilla
eddf69d219
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
9eb3a415ce
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
ca83343b85
Bug 976679 - Move event-emitter to toolkit. r=paul
...
--HG--
rename : browser/devtools/shared/event-emitter.js => toolkit/devtools/event-emitter.js
rename : browser/devtools/shared/test/browser_eventemitter_basic.js => toolkit/devtools/tests/mochitest/test_eventemitter_basic.html
2014-02-25 22:22:05 -06:00
Panos Astithas
ce061be925
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
800eed0b68
Backed out changeset 2b95fec2f1f5 (bug 970536) for mochitest-bc failures.
...
CLOSED TREE
2014-02-12 08:19:05 -05:00
Panos Astithas
9327f8126c
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
f0e492f68a
Bug 919819 - Detect JS files from fetched content type. r=fitzgen
...
--HG--
rename : browser/devtools/debugger/test/browser_dbg_pretty-print-01.js => browser/devtools/debugger/test/browser_dbg_pretty-print-13.js
rename : browser/devtools/debugger/test/code_ugly.js => browser/devtools/debugger/test/code_ugly-8
rename : browser/devtools/debugger/test/doc_pretty-print.html => browser/devtools/debugger/test/doc_pretty-print-3.html
2014-02-11 15:35:11 -06:00
Panos Astithas
9f3ed06d23
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
96f8a07d71
Bug 927673 - Fix forPage has no sources showing when debugger is loading. r=fitzgen
2014-02-06 10:04:13 -05:00
Victor Porof
72202b3af5
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
97a45e85f9
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
54ba9b8a7e
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
6571c4eeee
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
1070182c25
Bug 951633 - Drop the <xul:menulist> support for WidgetMethods, r=past
2014-01-03 23:42:16 +02:00
Victor Porof
51c2d7c78f
Bug 952767 - Variables view scopes should always be lazily populated, r=past
2014-01-03 23:41:28 +02:00
Hubert B Manilla
98892aa0be
Bug 913665 - Detect minified files and pretty print them by default; r=fitzgen
2013-12-24 15:32:55 +01:00
Victor Porof
9ee66ce6ea
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
00a923905f
Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past
2013-12-18 14:17:27 -08:00
Victor Porof
1fe54670a8
Bug 949249 - Conditional breakpoint should be kept after to toggle breakpoint checkbox, r=past
2013-12-12 14:59:09 +02:00
Victor Porof
b7bec0e835
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
Victor Porof
d6057ceb5c
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
6e60bab37d
Bug 917583 - part 2: request definitionSite before adding listeners to the view; r=vporof
2013-11-05 17:28:00 -08:00