Commit Graph

264 Commits

Author SHA1 Message Date
Mihai Sucan
42f179e71e Backed out changeset 57755fd703c9 (bug 768096) 2012-09-28 13:19:40 +01:00
Mihai Sucan
16782ef379 Backed out changeset 8c127abc3ad8 (bug 768096)
--HG--
rename : toolkit/devtools/webconsole/NetworkHelper.jsm => browser/devtools/webconsole/NetworkHelper.jsm
2012-09-28 13:19:40 +01:00
Mihai Sucan
7dd188e6ab Backed out changeset 9c70da27ec28 (bug 768096) 2012-09-28 13:19:40 +01:00
Mihai Sucan
f0583042fa Backed out changeset 89ab8685729d (bug 768096) 2012-09-28 13:19:39 +01:00
Mihai Sucan
1b25a20a8d Bug 768096 - Web Console remote debugging protocol support - Part 5: tests; r=robcee 2012-09-26 17:27:38 +01:00
Mihai Sucan
7a9f69146a Bug 768096 - Web Console remote debugging protocol support - Part 4: cleanups; r=robcee 2012-09-26 18:04:34 +01:00
Mihai Sucan
5630504d5a Bug 768096 - Web Console remote debugging protocol support - Part 3: network logging; r=past,robcee
--HG--
rename : browser/devtools/webconsole/NetworkHelper.jsm => toolkit/devtools/webconsole/NetworkHelper.jsm
2012-09-27 13:51:45 +01:00
Mihai Sucan
b06c454002 Bug 768096 - Web Console remote debugging protocol support - Part 2: window.console API and JS evaluation; r=past,robcee 2012-09-26 18:02:04 +01:00
Mihai Sucan
249b8eb7c6 Bug 768096 - Web Console remote debugging protocol support - Part 1: page errors; r=past,robcee
--HG--
rename : browser/devtools/webconsole/WebConsoleUtils.jsm => toolkit/devtools/webconsole/WebConsoleUtils.jsm
2012-09-26 18:07:57 +01:00
Panos Astithas
17a8e15a7e Bug 792925 - Dynamically-added tab-scoped actors should get a reference to their parent; r=msucan 2012-09-24 12:43:26 +01:00
Nick Fitzgerald
7d0ac3196f bug 673487 - map from an original source to a generated; r=robcee 2012-09-27 06:15:00 +01:00
Panos Astithas
03ae5283f5 Bug 793947 - Race condition in dbg-server.js breaks Marionette; r=msucan 2012-09-27 12:31:49 +01:00
Panos Astithas
2ede8468f0 Bug 792867 - Debugger mochitests leak when run separately. r=rcampbell 2012-09-22 18:44:00 +03:00
Panos Astithas
9064d9fdd2 Bug 790202 - Protocol layer performance overhead is too much for local transports. f=msucan r=rcampbell 2012-09-22 18:44:00 +03:00
Anton Kovalyov
157d2e8fdc Bug 788769 - The update function in dbg-script-actors.js should also copy getters and setters to the target object. r=past,nfitzgerald 2012-09-20 16:44:25 -07:00
Anton Kovalyov
903bd6fd23 Bug 785044 - Replace the ThreadActor's private debugger object and its getter with a public property. r=past 2012-09-20 14:15:15 -07:00
Panos Astithas
ed4255be0f Bug 790952 - Debugger server always creates new actor instances. f=glandium r=rcampbell 2012-09-21 09:04:21 +03:00
Mike Hommey
4e94d3a722 Bug 751034 part 3 - Send notifications through remote debugging protocol when the profiler starts/stops. r=past 2012-09-13 00:14:12 +02:00
Mike Hommey
614cf671dc Bug 751034 part 2 - Add profiler actor when adding the browser actors. r=past 2012-09-13 14:40:16 +02:00
Benoit Girard
64e4b4e648 Bug 751034 - Support remote profiling Via Remote debugging protocol. r=past,rcampbell 2012-09-06 16:55:55 +03:00
Panos Astithas
2df4be745b Bug 781515 - Use a default allowConnection handler in dbg-server.js so that add-ons don't have to provide their own. r=rcampbell, f=Pike,mgoodwin 2012-09-20 09:40:01 +03:00
Panos Astithas
cafd096c1e Bug 789114 - Make B2G and Fennec browser actors inherit the extensibility API changes. f=glandium r=msucan,mfinkle,vingtetun 2012-09-20 09:38:11 +03:00
Panos Astithas
3c23735c98 Bug 753401 - The debugger server root and tab actors should be easily extensible; r=rcampbell
--HG--
rename : browser/devtools/debugger/test/browser_dbg_contextactor-02.js => browser/devtools/debugger/test/browser_dbg_globalactor-01.js
2012-09-20 09:36:32 +03:00
Panos Astithas
09463803b4 Remove redundant check for Debugger.Object.displayName property (bug 786711). r=jimb 2012-09-18 10:30:02 +03:00
Panos Astithas
268082385c Bug 785689 - Debugger breaking when it shouldn't. r=msucan,vporof 2012-09-12 14:10:05 +03:00
Panos Astithas
9a2501ddd2 Use the statically-inferred name for anonymous functions (bug 786711) r=msucan,vporof 2012-09-10 11:48:52 +03:00
Mike Hommey
0de1311c06 Bug 793672 - Tests for the debugging server profiler actor. r=past 2012-10-06 10:38:35 +02:00
Mike Hommey
d77ec16b08 Bug 793672 - Allow to get notifications for arbitrary observer topics through RDP with the profiler actor. r=past 2012-10-06 10:37:58 +02:00
Jim Blandy
6b59423a60 Bug 786509: Remove support for wildcard event listeners from dbg-client.jsm's eventSource. r=past 2012-08-30 14:29:55 -07:00
Jim Blandy
800fc6e72d Bug 785466: follow-on fix: uncommitted changes to resolve conflicts with bug 694539; no r 2012-08-30 14:24:05 -07:00
Jim Blandy
4c85131f5a Bug 785466: Remove DebugProtocolTypes table. r=past 2012-08-30 14:11:54 -07:00
Nick Fitzgerald
d7f036493e Bug 694539: Implement 'long string' grips. r=jimb 2012-08-30 14:10:07 -07:00
Nick Fitzgerald
f0462fd605 Fix test hang on Win opt (Bug 783393). r=past 2012-08-24 10:58:59 +03:00
Panos Astithas
73af0b8253 Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-24 10:41:02 +03:00
Matt Brubeck
8df05dede8 Back out b2900e347f5c (bug 783393) for Windows xpcshell hangs in test_listscripts-01.js on a CLOSED TREE
--HG--
extra : transplant_source : %F4%97%281%7F%AD%7E%C0Vb%00t%9Bd%FC%EC%A5%92%B5%C8
2012-08-23 14:37:29 -07:00
Panos Astithas
4734deb1cb Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-17 04:32:21 +03:00
Tim Taubert
5c6f1513a0 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Panos Astithas
5f4540bb5f Don't send newScript notifications for ignored scripts (bug 770882). r=rcampbell 2012-08-22 11:11:07 +03:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Nick Fitzgerald
18ce0b0e18 Share the breakpoint store across ThreadActor instances (bug 777146); r=past 2012-08-06 12:32:00 +03:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Panos Astithas
8785947f9d Only use a web progress listener when a tabbrowser has been passed to the tab actor (bug 779641); r=rcampbell 2012-08-03 10:31:55 +03:00
Tim Taubert
96133418f8 merge m-c to fx-team 2012-07-31 16:38:32 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nick Fitzgerald
a1eed9f473 Bug 777146 - Move ThreadActor.prototype.{_scripts, _breakpointStore} initialization to the constructor so that each instance of ThreadActor has its own {_scripts, _breakpointStore} object instead of each instance sharing the same object. r=rcampbell 2012-07-25 09:30:00 -07:00
Michael Ratcliffe
bc1448c41d Bug 777355 - Move Console.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests.; r=rcampbell
--HG--
rename : browser/devtools/shared/Console.jsm => toolkit/devtools/Console.jsm
2012-07-25 18:34:34 +01:00
Panos Astithas
e8283c56ef Bug 751226 - Refactor all the existing browser actor implementations to eliminate duplication. r=rcampbell r=mark.finkle r=21 2012-07-11 14:43:11 +03:00
Rob Campbell
967d53ee59 Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=gavin 2012-07-24 15:02:10 -07:00
Michael Ratcliffe
c85114bd2e Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=rcampbell
--HG--
rename : browser/devtools/shared/Require.jsm => toolkit/devtools/Require.jsm
2012-07-24 12:08:30 +01:00
Nick Fitzgerald
7087aa3913 Bug 669999 - Add a library for parsing and consuming source map files to Firefox; r=joe_walker,rcampbell 2012-07-18 17:17:00 -04:00
Ehsan Akhgari
635cf2dfd2 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more toolkit parts); blanket-r=bzbarsky 2012-07-18 12:12:55 -04:00
Victor Porof
9bd8c04155 Bug 767389 - about:home and about:newtab are intermittently shown in the Debugger dropdown; r=past 2012-07-15 09:50:41 +03:00
Panos Astithas
399f3d044f Bug 751949 - Reloading a page when the debuggee is paused results in: ASSERTION: Mismatched calls to ResumeTimeouts; r=rcampbell 2012-07-13 13:10:22 +03:00
Panos Astithas
443168bbb2 Bug 771452 - resume button need two clicks to go on after a breakpoint when the script is inside the .html file; r=rcampbell 2012-07-13 13:10:21 +03:00
Panos Astithas
80c077f1cd Bug 767399 - When navigating between web pages with the Back and Forward buttons, the same scripts are displayed in the Debugger for all the pages; r=rcampbell 2012-07-12 14:03:43 +03:00
Panos Astithas
80680028cb Use a preference setting to decide whether to bind to the loopback interface only, or all interfaces (Bug 764679); r=dcamp,mfinkle,jgriffin,vingtetun 2012-06-20 16:31:50 +03:00
Panos Astithas
d6a71e89ec Ensure that with multiple windows open, the debugger's selected tab belongs to the top-level window (bug 761742); r=dcamp 2012-06-19 17:46:25 +03:00
Tim Taubert
e80da9aa94 merge m-c to fx-team 2012-06-13 15:34:08 +02:00
Panos Astithas
b95c738c57 Bug 754251 - Can't set breakpoint in Script Debugger; r=rcampbell 2012-06-12 09:47:08 +03:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Panos Astithas
78ce298cf3 Bug 760882 - XBL Bindings appear in the debugger script dropdown if the debugger is open when the page is refreshed; r=rcampbell 2012-06-08 16:05:27 +03:00
Panos Astithas
035efc50e0 Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 11:21:59 +03:00
Panos Astithas
147618191a Backout 61e0d5d09f77 due to test breakage 2012-06-08 11:18:28 +03:00
Panos Astithas
69e8b205cb Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 10:00:48 +03:00
Panos Astithas
42c72ae67b Bug 757282 - Pause when an exception is hit; r=rcampbell 2012-06-03 16:39:51 +03:00
Panos Astithas
011b89bf23 Bug 737808 - Separate breakpoints and scripts handling in the client from the server; r=rcampbell 2012-06-03 16:39:50 +03:00
Panos Astithas
0b6cecb6b6 Bug 758696 - Add a dialog to the debugger to deny or allow incoming server connections (Part 1: Firefox); r=rcampbell 2012-06-01 18:25:08 +03:00
Panos Astithas
c36515f6df Bug 755346 - Global variables are not displayed in the debugger frontend; r=vporof,rcampbell 2012-05-29 12:08:20 +03:00
Panos Astithas
cdd39e141f Bug 724862 - Implement protocol support for modifying the values of a debuggee object's properties; r=rcampbell 2012-05-24 14:23:53 +03:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
539066cff5 Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Jim Blandy
1cebe57564 (No bug): Add comments to some debugger server code. r=past in IRC 2012-05-08 17:54:04 -07:00
Victor Porof
1b9d795461 Bug 748927 - Add UI elements for the remote debugging case: starting a server and selecting the server to connect to; r=past 2012-04-27 17:18:02 -04:00
Ehsan Akhgari
9cfb53c03f Merge mozilla-central into mozilla-inbound 2012-05-04 16:29:42 -04:00
Jason Orendorff
b442f6158f Bug 749316 - Put Debugger object into chrome scratchpad. r=dcamp,bholley.
--HG--
extra : rebase_source : 12ab275ac9cdfa0e9890c507e30e0b56e4086816
2012-05-01 10:17:32 -05:00
Panos Astithas
e6e974e210 Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Ehsan Akhgari
1c4c90c1ae Merge backout; a=me 2012-05-02 16:22:51 -04:00
Ehsan Akhgari
eca4125e02 Backout the merge from fx-team because of Ts regressions (no bug)
This is the backed out range:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=a974c45914eb
2012-05-02 16:20:02 -04:00
Ehsan Akhgari
f92cf63082 Backout changeset b0200dab0ccc to revert the incorrect backout of an fx-team range (no bug)
This is the range I mistakenly backed out before:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=bc5fee76550b
2012-05-02 16:11:19 -04:00
Ehsan Akhgari
7dbe654abb Backout the latest merge from fx-team because of Ts regressions (no bug) 2012-05-02 15:37:08 -04:00
Tim Taubert
6689ee6814 merge m-c to fx-team; a=js-only 2012-05-02 15:36:57 +02:00
Panos Astithas
cad4cfba4e Bug 749258: Fix debugger server tests exposed as broken when we start listening for errors. r=dcamp 2012-05-01 15:31:00 -07:00
Jim Blandy
732c98d3ec Bug 749258: Have toolkit/devtools/debugger xpcshell tests register a listener for Components.utils.reportError, so tests fail when they throw an exception. r=past 2012-05-01 15:29:48 -07:00
Jim Blandy
3fe5d781a9 Bug 749215: Install the debug server jsms as symlinks, when appropriate. r=rcampbell 2012-05-01 15:19:32 -07:00
Jim Blandy
78e4f287dd Bug 749231: Set the devtools.debugger.log pref in head_dbg.js, so we always get packet logs. r=past 2012-04-30 15:02:11 -07:00
Mike Hommey
6e681fe97d Bug 749550 - Import dbg-client.jsm from resource://gre/ instead of resource:///. r=past 2012-04-30 08:05:05 +02:00
Panos Astithas
f44dd854d0 Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Panos Astithas
11c3e147e2 Bug 740803 - Put the debugger in its own compartment again; r=dcamp, a=mfinkle
--HG--
rename : toolkit/devtools/debugger/server/dbg-server.jsm => toolkit/devtools/debugger/server/dbg-server.js
2012-04-22 12:59:09 +03:00
Jim Blandy
b6361415fa Bug 742358: Add some documentation to toolkit/devtools/debugger/dbg-transport.js. r=dcamp 2012-04-05 12:37:21 -07:00
Panos Astithas
1504fc9514 Bug 739995 - Intermittent test failures in browser_dbg_bug723069_editor-breakpoints.js and others | Found the expected number of scripts. - Got 3, expected 2, followed by other errors; r=rcampbell 2012-03-30 11:26:08 +03:00
Panos Astithas
bee012f6f7 Bug 723563 - Use findScripts to retrieve the list of scripts known to the debugger; r=rcampbell 2012-03-30 11:25:52 +03:00
Panos Astithas
5c8eebe4f4 Bug 737464 - Add frame and iframe globals to the debugger when present in a page; r=rcampbell 2012-03-29 08:46:54 +03:00
Panos Astithas
4800135eba Backout changeset 794ff67c7a9a (bug 723563) due to suspected randomorange (bug 739995) 2012-03-28 17:47:33 +03:00
Panos Astithas
7b0562ad64 Backout changeset 0b6a274e8b5a (bug 737464) due to suspected randomorange (bug 739995) 2012-03-28 17:45:22 +03:00
Panos Astithas
0779ee7e6b Bug 737464 - Add frame and iframe globals to the debugger when present in a page; r=rcampbell 2012-03-28 13:31:11 +03:00
Panos Astithas
32e33cb96d Bug 723563 - Use findScripts to retrieve the list of scripts known to the debugger; r=rcampbell 2012-02-23 10:39:02 +02:00
Panos Astithas
4743dd2932 Bug 734911 - Adding breakpoints sometimes doesn't work; r=rcampbell 2012-03-28 12:23:09 +03:00
Panos Astithas
a1c5eab279 Bug 711164 - Add support for stepping to the debugger; r=rcampbell 2012-03-18 08:50:43 +02:00
Panos Astithas
4355a06daa Bug 729576 - Update the remote debugging protocol to reflect the recent spec changes; r=dcamp,jimb 2012-03-13 09:13:02 +02:00
Panos Astithas
35566c488e Bug 731277 - Add support for using fn.displayName as the function name in stack frames; r=rcampbell 2012-03-12 10:59:30 +02:00
Panos Astithas
7ed3bc29f3 Bug 709088 - Put dump() calls in debugger code behind a pref; r=rcampbell 2012-03-08 09:14:41 +02:00
Mihai Sucan
e669393a4e Bug 723069 - The debugger should allow breakpoints to be set in the embedded editor; r=past 2012-03-05 19:56:13 +02:00
Panos Astithas
db7a0885c5 Bug 729191 - Make debugger mochitests wait for debugger server shutdown before finishing; r=rcampbell 2012-03-06 10:22:17 +02:00
Panos Astithas
bc3ed29333 Bug 697040 - The Script Debugger onNewScript notifications don't always fire; r=jimb,dcamp,rcampbell 2012-02-23 09:41:00 +02:00
Panos Astithas
162742acd3 Bug 725360 - Closing the tab when the debugger is paused should cleanly exit the debugger; r=rcampbell 2012-02-17 10:15:43 +02:00
Dave Camp
cbc77a052e Bug 703718 - Unify dbg-server.js and dbg-server.jsm. r=past 2012-02-14 11:45:36 -08:00
Dave Camp
ff3ffe46f2 Bug 719127 - Debugger error: jschar out of char range; high bits of data lost. r=past 2012-02-14 11:45:35 -08:00
Panos Astithas
cfd1273497 Bug 687093 - Clicking on a stack frame in the debugger should put the caret in the proper source line; r=msucan 2012-02-11 11:44:20 +02:00
Panos Astithas
8e17fa4143 Bug 719122 - Setting a breakpoint in a line without code should skip forward; f=dcamp,r=jimb 2012-02-10 09:46:12 +02:00
Panos Astithas
838c5c48e2 Bug 711125 - Make the debugger client's setBreakpoint pause the debuggee automatically; r=dcamp
Makes DC_setBreakpoint send an interrupt request first, if the debuggee is running (in the main loop), and then proceed with a breakpoint request. Also fixes a bug in the client request dispatcher, where unsolicited notifications would be considered as responses to unrelated active requests.
2012-02-10 09:46:11 +02:00
Panos Astithas
6d8b3cb915 Bug 690771 - Implement the debugger pause request (at the main loop); r=dcamp 2012-02-10 09:46:10 +02:00
Panagiotis Astithas
6a84741227 Bug 697762 - Land the debugger in m-c - sr changes; r=msucan,rcampbell; sr=dtownsend 2012-01-23 10:29:15 +02:00
Panagiotis Astithas
38cc317f4e Bug 697762 - Land the debugger in m-c; r=msucan,rcampbell; sr=dtownsend 2012-02-07 13:22:30 -04:00