Граф коммитов

156 Коммитов

Автор SHA1 Сообщение Дата
Miroslav Bajtos d293d3441d Implemented RuntimeAget.getProperties()
* Fixed convert.v8RefToInspectorObject to correctly decode object class name
  and buffer/array size into description.

* Modified debugger.sendDebugRequest to send refs lookup table to callback.

* Extracted code for launching debugger from mocha tests into a standalone
   file (module).
2013-05-17 21:46:29 +02:00
Miroslav Bajtos 06312c1d2f Implemented execution-control related commands
* pause
* resume (continue)
* stepOver, stepInto, stepOut
* setOverlayMessage (dummy implementation)

Removed session.js methods that are no longer used.
2013-05-17 21:46:25 +02:00
Miroslav Bajtos 9b98166a25 Implemented Call Stack.
Also added async module as a new dependency.
2013-05-17 21:38:17 +02:00
Miroslav Bajtos 9ef874b70c Implemented breakpoints
* Debugger.setBreakpointByUrl
* Debugger.removeBreakpoint
* Debugger.setPauseOnExceptions

Removed script file path shortening, because the new front-end display nice
tree based on paths and it also uses script paths to set breakpoints.
2013-05-17 21:23:02 +02:00
Miroslav Bajtos 3b09b4159f Rework backend to support the new frontend.
* Deferred initialization of WebInspector front-end until the web-socket
  is connected.

* Upgraded calls to functions that no longer exist in the new front-end.

* Implemented few custom events (debuggerWasDisabled, showConsolePanel).

* Removed front-end patches that are no longer required.

* Created FrontendCommandHandler that will allow us to move command handlers
  from session to Agent classes similar to what we have in front-end.
2013-05-17 21:04:35 +02:00
Miroslav Bajtoš 9390aacad5 Fixed breakpoint restore bug.
Fixed bug where breakpoint restore did not work well
with shortened script names.
2013-05-17 20:46:40 +02:00
Miroslav Bajtoš de14ca3951 Update list of scripts on afterCompile event.
Added afterCompile listener that registers
newly parsed/loaded script. Includes

- refactoring of script registration
  (extracted class ScriptManager).

- fix of script path shortening, where windows paths
  containing '\' instead of '/' were not shortened
  at all.
2013-05-17 20:46:40 +02:00
Miroslav Bajtoš 87c71616ff Restore breakpoints on debugee restart.
When the debugged application is restarted, node-inspector restores all
breakpoints from the debugging session.
2013-05-17 20:46:40 +02:00
Philip Tellis dd288e50c7 configure which interface to listen on so that we can avoid opening the debugger to the world if not needed 2012-02-10 15:38:37 -05:00
Danny Coates ecc268efdc Switched to socket.io - fixes #56
thanks @guille @einaros for the hybi10 support!
2011-09-02 20:31:39 -07:00
Danny Coates 41922a7266 patched up page refresh when the process under debug restarts 2011-08-03 20:10:48 -07:00
Danny Coates ca61c4d733 load new script on break if missing.
Refreshing the page will also retrieve all loaded scripts.
Closes #44
2011-07-23 19:03:34 -07:00
Danny Coates 7f5b6de417 added websocket ping to keep the connection alive 2011-07-23 16:04:17 -07:00
Danny Coates 25670cbd19 refactored debug-server 2011-07-16 00:28:13 -07:00
Danny Coates 98e9ab884a work in progress on fixing browser refresh disconnect issue 2011-07-14 23:15:38 -07:00
Danny Coates 59fc4546e6 updated dependencies 2011-07-13 22:04:52 -07:00
Danny Coates d0deaacf9b version 0.1.6 - closes #25 2010-12-14 18:29:12 -07:00
Danny Coates d6d2ba81b1 version 0.1.5 2010-12-11 18:32:47 -07:00
Danny Coates 0e1ec59cda some delinting 2010-12-07 23:41:06 -07:00
Danny Coates 9b25788d72 test if connected before enabling profiler. closes #24 2010-12-07 20:01:43 -07:00
Danny Coates ba345834e2 changed startup message to use 0.0.0.0 2010-12-03 21:52:39 -07:00
Danny Coates 5f45453577 show last active panel on page load 2010-12-01 21:54:24 -07:00
Danny Coates e57f583b98 display profile name when available 2010-12-01 20:54:21 -07:00
Danny Coates e51ec8d997 enable profiler panel 2010-12-01 00:48:07 -07:00
Danny Coates 2957655562 stripping function wrapper breaks liveEdit (reverted) 2010-11-30 22:01:41 -07:00
Danny Coates 4b315f73e9 version 0.1.3 2010-11-28 23:02:17 -07:00
Danny Coates 1e2b66fc70 revert websocket lib version
- prepare session for profiler
2010-11-28 22:40:31 -07:00
Danny Coates 23812b3855 updated webkit front-end
- strip function wrapper from node sources
2010-11-27 18:45:48 -07:00
Danny Coates 635ff93623 version 0.1.2
- save liveEdits
- hide files
2010-11-26 23:59:14 -07:00
Danny Coates 9bc110af61 added web port and debug port defaults to config.json 2010-11-23 00:15:50 -07:00
Danny Coates a72e303023 test for hidden scripts before shortening 2010-11-22 18:13:37 -07:00
Danny Coates 9084c796a9 additional work on hidden scripts
- use regexp instead of strings comparison for config.hidden
- step out when break hits hidden script
2010-11-22 18:04:42 -07:00
Danny Coates 62dccc42ce experimental support for hiding scripts from view 2010-11-21 19:59:37 -07:00
Danny Coates 8650e43c46 bump version to 0.1.1 2010-11-21 17:48:49 -07:00
Danny Coates dd949818e9 shorten source file names in source list 2010-11-20 21:33:22 -07:00
Danny Coates 12ad7d3513 Fix pause with no call frames. Closes #19 2010-11-20 18:45:57 -07:00
Danny Coates 6f48e62958 updated ws library 2010-11-20 10:30:36 -07:00
Danny Coates 0d54b099ea minor code style refactoring 2010-11-06 18:37:27 -06:00
Danny Coates 344662b6cd use lookup timeout instead of property size limit 2010-10-30 00:23:44 -06:00
Danny Coates 77b5d8b832 fixed get script source on break event 2010-10-29 21:28:22 -06:00
Danny Coates 9e4a0b4fe3 added max properties limit to show 2010-10-28 22:48:05 -06:00
Danny Coates 0fc05801ab fixed Array display bug 2010-10-28 21:48:51 -06:00
Danny Coates 85aaec8556 added completions to console 2010-10-28 21:36:34 -06:00
Danny Coates e11b958a74 cleaned up unused functions 2010-10-27 23:17:06 -06:00
Danny Coates 54b3f67c1b store app settings in localStorage and implemented liveedit 2010-10-27 20:45:05 -06:00
Danny Coates 102a207ae3 put debugger port as querystring parameter 2010-10-27 19:48:31 -06:00
Danny Coates 089d6b9d30 implemented more commands 2010-10-26 22:20:01 -06:00
Danny Coates 8a71c99add implemented evaluate 2010-10-26 00:20:42 -06:00
Danny Coates 83ff070127 changed initialization and moved callbacks to debugger.js 2010-10-25 20:41:25 -06:00
Danny Coates 290caa225a list breakpoints on connect 2010-10-25 00:39:15 -06:00
Danny Coates dcd344fbc5 v2 will be compatible with remote devtools protocol 2010-10-24 19:16:40 -06:00
Danny Coates 5efcf0ea0c handle multi-byte characters from node. Closes #12 2010-09-13 20:57:52 -06:00
Danny Coates b52dca6607 removed sys references 2010-09-10 17:59:18 -06:00
Danny Coates 56c21409b3 refactored backend and removed --start flag
- seperated session and server components
- moved dependencies to /vendor
- added new ui for specifying node debug port
- fix breakpoint syncing across windows
- groundwork for multiple debug sessions
- removed all child process functionality
2010-09-09 23:28:35 -06:00
Danny Coates 390020a5f1 added __proto__ to variable tree, moved debugger.js and session.js to lib 2010-08-24 20:51:11 -06:00
Danny Coates ad6df10f54 self host the inspector instead of using the chrome extension 2010-07-19 20:55:47 -06:00