Commit Graph

178 Commits

Author SHA1 Message Date
Nick Fitzgerald
bed2b8ae72 Fix test hang on Win opt (Bug 783393). r=past 2012-08-24 10:58:59 +03:00
Panos Astithas
c3e23a698c Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-24 10:41:02 +03:00
Matt Brubeck
66414abc2f 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
45afc9f7b9 Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-17 04:32:21 +03:00
Tim Taubert
bb4a8970e4 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Panos Astithas
b6179ec970 Don't send newScript notifications for ignored scripts (bug 770882). r=rcampbell 2012-08-22 11:11:07 +03:00
Ehsan Akhgari
0fd9123eac 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
4417dc2ab5 Share the breakpoint store across ThreadActor instances (bug 777146); r=past 2012-08-06 12:32:00 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Panos Astithas
3343ffb65e 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
7c84c23358 merge m-c to fx-team 2012-07-31 16:38:32 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nick Fitzgerald
305834af54 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
Panos Astithas
28a8d4a224 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
Ehsan Akhgari
b3dd3b6646 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
3356a29ccb 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
25dfbf0950 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
fd456f8730 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
6211a0eadd 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
727e12a234 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
63bb179ecf 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
3cc384cd72 merge m-c to fx-team 2012-06-13 15:34:08 +02:00
Panos Astithas
b1b26c25c1 Bug 754251 - Can't set breakpoint in Script Debugger; r=rcampbell 2012-06-12 09:47:08 +03:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Panos Astithas
d8c8860a3c 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
2655e2afaf Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 11:21:59 +03:00
Panos Astithas
4197e5af0e Backout 61e0d5d09f77 due to test breakage 2012-06-08 11:18:28 +03:00
Panos Astithas
2291a64c5a Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 10:00:48 +03:00
Panos Astithas
11197066ba Bug 757282 - Pause when an exception is hit; r=rcampbell 2012-06-03 16:39:51 +03:00
Panos Astithas
67a08210a6 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
6cf3dfbaac 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
e2edf4f1eb Bug 755346 - Global variables are not displayed in the debugger frontend; r=vporof,rcampbell 2012-05-29 12:08:20 +03:00
Panos Astithas
b1ff343559 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
ea17443d61 Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Jim Blandy
c595de95c0 (No bug): Add comments to some debugger server code. r=past in IRC 2012-05-08 17:54:04 -07:00
Victor Porof
81ccc3e0ce 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
f71126f4f7 Merge mozilla-central into mozilla-inbound 2012-05-04 16:29:42 -04:00
Jason Orendorff
68ca935eed 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
dfb60bd8de Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Ehsan Akhgari
83c608b002 Merge backout; a=me 2012-05-02 16:22:51 -04:00
Ehsan Akhgari
27f6798b66 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
1264cba321 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
077dde163d Backout the latest merge from fx-team because of Ts regressions (no bug) 2012-05-02 15:37:08 -04:00
Tim Taubert
467f00c214 merge m-c to fx-team; a=js-only 2012-05-02 15:36:57 +02:00
Panos Astithas
240fb3787b 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
bbc356c90c 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
cf9f1a6041 Bug 749215: Install the debug server jsms as symlinks, when appropriate. r=rcampbell 2012-05-01 15:19:32 -07:00
Jim Blandy
7d5df75a5a 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
8adf17ff29 Bug 749550 - Import dbg-client.jsm from resource://gre/ instead of resource:///. r=past 2012-04-30 08:05:05 +02:00
Panos Astithas
f4adb96b3f Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Panos Astithas
4a851cc61e 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
a677109191 Bug 742358: Add some documentation to toolkit/devtools/debugger/dbg-transport.js. r=dcamp 2012-04-05 12:37:21 -07:00
Panos Astithas
e0c0fd9637 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
9436803818 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
8d13c0a4ce 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
5407d2b5ab Backout changeset 794ff67c7a9a (bug 723563) due to suspected randomorange (bug 739995) 2012-03-28 17:47:33 +03:00
Panos Astithas
857008e1a8 Backout changeset 0b6a274e8b5a (bug 737464) due to suspected randomorange (bug 739995) 2012-03-28 17:45:22 +03:00
Panos Astithas
642a6553ef 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
88735b837d 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
33cdddb60c Bug 734911 - Adding breakpoints sometimes doesn't work; r=rcampbell 2012-03-28 12:23:09 +03:00
Panos Astithas
8485042d05 Bug 711164 - Add support for stepping to the debugger; r=rcampbell 2012-03-18 08:50:43 +02:00
Panos Astithas
6eda6ce053 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
0825d4d797 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
c7482f3ff2 Bug 709088 - Put dump() calls in debugger code behind a pref; r=rcampbell 2012-03-08 09:14:41 +02:00
Mihai Sucan
34dad7f65d 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
1a4d832c17 Bug 729191 - Make debugger mochitests wait for debugger server shutdown before finishing; r=rcampbell 2012-03-06 10:22:17 +02:00
Panos Astithas
06429a2686 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
079d7a3590 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
487026b9cf Bug 703718 - Unify dbg-server.js and dbg-server.jsm. r=past 2012-02-14 11:45:36 -08:00
Dave Camp
f3e3e34a89 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
df199e0730 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
81f71bf910 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
3ef9efb734 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
a6a526b23d Bug 690771 - Implement the debugger pause request (at the main loop); r=dcamp 2012-02-10 09:46:10 +02:00
Panagiotis Astithas
71a657e3b3 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
61072d64a7 Bug 697762 - Land the debugger in m-c; r=msucan,rcampbell; sr=dtownsend 2012-02-07 13:22:30 -04:00