implementing Rhino debugger

110 views
Skip to first unread message

rand nezha

unread,
Jul 18, 2012, 2:37:13 PM7/18/12
to rin...@googlegroups.com
hello
i just want to ask you if somebody tried to full implement Rhino debugger ? ... 
we are trying to implement for a cloud project PasS ... in which we let one of the users debug javascript code and the others can see the debugging session 

Hannes Wallnöfer

unread,
Jul 20, 2012, 6:16:03 AM7/20/12
to rin...@googlegroups.com
RingoJS contains a debugger base implementation which can be extended
in Javascript (so you can implement your debugger in JavaScript)

https://github.com/ringo/ringojs/blob/master/src/org/ringojs/util/DebuggerBase.java

Have a look at modules/ringo/profiler.js for an example module
extending DebuggerBase.

Remember that you must run Rhino/Ringo in interpreter mode (optlevel
-1) for the debugger to work. Good luck with your project, it sounds
interesting!

Hannes

2012/7/18 rand nezha <rand...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "RingoJS" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/ringojs/-/m1JMc_zox2cJ.
> To post to this group, send email to rin...@googlegroups.com.
> To unsubscribe from this group, send email to
> ringojs+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/ringojs?hl=en.
Reply all
Reply to author
Forward
0 new messages