Kilsmo's log

Debugging Unite services with Dragonfly part 2

,

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:

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:

  1. Select Stop at new thread (hand plus left bracket)
  2. Start the Unite service
  3. Select the Unite service in the Dragonfly menu
  4. Press Continue (play button)
  5. 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.

Debugging Unite services with DragonflyJavaScript, Prototype and Ruby

Write a comment

New comments have been disabled for this post.

May 2013
M T W T F S S
April 2013June 2013
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31