Debugging Unite services with Dragonfly part 2
Sunday, August 9, 2009 9:17:31 AM
Next challenge, write some Javascript code in the Unite service, and debug its main content. (that is before any user generated event has been triggered)
A simple example:
The second line is just there to make sure that I can inspect the a variable. (maybe there is a nicer way to do that)
If you want to step through the program, you can do the following:
I think that this was rather unintuitive, but, as always, now I know how to do it.
A simple example:
var a = 3 * 5; var stop = true;
The second line is just there to make sure that I can inspect the a variable. (maybe there is a nicer way to do that)
If you want to step through the program, you can do the following:
- Select Stop at new thread (hand plus left bracket)
- Start the Unite service
- Select the Unite service in the Dragonfly menu
- Press Continue (play button)
- Now your script is visible, and you can start to debug
I think that this was rather unintuitive, but, as always, now I know how to do it.







