Skip to content

Watches and logs V8 events using the internal programmatic debugger

License

Notifications You must be signed in to change notification settings

doublerebel/tracrr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tracrr

Watches and logs V8 events using the internal programmatic debugger

Usage:

Tracrr = require("lib/tracrr");
Tracrr.logTo(console);

Launch V8 with --expose-debug-as <name> so that Tracrr can access <name>.Debug object from within JavaScript.

Definition in V8 source: expose debug in global object Effect in V8 source: Creates an isolated Debug context that can call across to the main context

Flag can be set from command line (i.e. when launching node), or programmatically (i.e. when embedded as in Titanium Mobile)

This is a mostly undocumented feature of V8 that until now has been exclusively used to run V8's debugger test suite in JS. More documentation coming soon. For hints see source. MIT Licensed. 2013 @doublerebel

About

Watches and logs V8 events using the internal programmatic debugger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published