Has anyone created a visual debugger?

Dec 8, 2009 at 12:09 AM

Before I go reinventing the wheel, has anybody done this yet? Are there any frameworks, libraries, or tools that might facilitate the process?

Thanks,

Andy

Dec 8, 2009 at 7:04 AM

Why not reusing Visual Studio ? You have the locals and watch windows, breakpoints, and I think the debugged infrastructure is pluggable. I will ask a colloeague to post some info on where to start.

Dec 8, 2009 at 10:47 AM

Hi Andy,

Here is a good start to create a debugger integrated to Visual Studio : http://code.msdn.microsoft.com/debugenginesample

Nicolas Penin

Dec 8, 2009 at 4:33 PM

Thanks for the link - that looks like a great resource.

I have one other question before starting - is the actual JavaScript code accessible from somewhere within a JintEngine object?  The reason I ask is because I sometimes execute Run() multiple times and define new functions each time.  How do I know what info.CurrentStatement.Start.Line is pointing to in that case?  Is there a single script that grows internally?

Dec 8, 2009 at 4:35 PM

It is handled right now, but you will be able to use it with the next release.

Dec 8, 2009 at 4:41 PM
Edited Dec 8, 2009 at 4:41 PM

Excellent, I look forward to it!