JScript Debugging

Hi guys,

how do you generally go around debugging JScripts?

Its really difficult to guess whats wrong when all I get is this.
image

Wrap it in a try/catch block

examples:

3 Likes

I usually end up commenting out chunks to narrow down the problem line but is slow process.

Yeah, thats what Ive been doing but its incredibly tedious and difficult to work with. Is there a compiler/interpreter I can use with JScript that will help me at least a little bit?

I am trying to use JScript and import .NET system and network libraries to open sockets and as you can imagine its near impossible without decent debugging tools.

@Memo thanks! Ill have a look at that

I just happened on to that code earlier this year. I found calling the debugger and launching visual studio did nothing for me.