Debugging RavenClaw

From Olympus
Jump to: navigation, search

There are various ways you can debug !RavenClaw:

- Shrink the font of the !XyzDMTask window, increase the buffer to 1000 lines, and increase it's height as well, to see what's going on in realtime

- Examine the dialog.log file. You can put your own log entries in by...

- Add 'printf'-like statements in your !XyzDMTask.cpp file with the command LOG("text") in specific places (not anywhere in the Agent definitions!). Basically you can put it wherever you could also write a C++ command, for instance, within an ON_COMPLETION, or EXECUTE, and so on. If you want some printf like behavior, do something like
LOG(FormatString("test = %d", test));
Personal tools