Debugging Natlink with breakpoints, etc... is there an open source way?

I did find a way to debug Natlink with breakpoints and the ability to attach to process. Unfortunately it costs money. I'm considering buying it but if anyone knows an open-source alternative I'd be interested. The method I've discovered is as follows:

1. Install Wing IDE http://www.wingware.com/, you can get a 30 day trial but after that it costs $35.

2. Install perl (required for changes to vocola generator)

3. Add the line: import wingdbstub, to the file:

C:\Program Files\NatLink\Vocola\Exec\vcl2py.pl

sub emit_file_header

...
import wingdbstub #add this
import win32api
import win32com.client
import natlink
...

4. Change the file
C:\Program Files\NatLink\macrosystem\_vocola_main.py

The line: usePerl = 0 needs to be changed to:

usePerl = 1

5. Make a few settings changes in Wing IDE.

Table of Contents >> Wing IDE Personal Reference Manual >> Advanced Debugging Topics >> Debugging Externally Launched Code

6. Restart Dragon, and you should be able to use wingdb.

It really isn't that difficult, and can be very helpful.

Again, if anyone has any open source ways to do this... I'd love to know.

Derek

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
admin's picture

I did not attempt to see if

I did not attempt to see if anything existed, but a good place to look might be on http://sourceforge.net/ they have a lot of development tools on there.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.




view recent posts