This project has moved and is read-only. For the latest updates, please go here.

Debugging with Eclipse

Feb 17, 2014 at 4:41 PM
Hi ClearScripts,

I try to find out how to debugging with Eclipse. The setup works fine and the output window in Eclipse shows me information like this:
> Received from Chrome:
Type: connect
V8-Version: 3.24.17
Protocol-Version: 1
Embedding-Host: Visual Studio JavaScript
Content-Length: 0

> end of message

> Sent to Chrome:

> end of message

> end of message

> Received from Chrome:
Content-Length: 134

> end of message
and so on. I guess "Chrome" is here my application, I named the V8ScriptEngine instance "Visual Studio JavaScript". But I don't see what to do with that. Is there any chance to write from my script something to the output window? And how may I set a breakpoint?

Best regards,
Feb 18, 2014 at 8:47 PM
Hi Torsten,

You can use the Project Explorer window in Eclipse to open loaded scripts and set breakpoints. There's no way to write your own text to the Communication console, but you can use the Expressions window to evaluate arbitrary JavaScript expressions and invoke JavaScript functions.