Concept : Understanding Debugging

Back to Concepts and HOW TOs

Contents

[edit] Description 

The debugging facility in Bungee Builder allows you to set breakpoints to interrupt code execution when you test your code. When a breakpoint is reached, the code that contains the breakpoint is opened, or brought into focus in the Design Editor. Also, a modal "watch window" appears displaying the values of variables local to where the breakpoint occurred.

You can set as many breakpoints as you require. After setting breakpoints on consecutive lines, you can "step through" the code by clicking Close on the window showing the state of the program statements. Each time you click Close, the next breakpoint causes another window to display the program's state.

[edit] Notes

Breakpoints are not persistent; when you refresh your solution, the breakpoints are removed from your code.

Breakpoints and comments are mutually exclusive. If you comment out a line of code with a breakpoint, when you run the code, the line does not show a breakpoint. Once you remove the comment, the breakpoint on that line becomes active again.

[edit] See Also

Using Debugging

[edit] Tags


Log in if you would like to rate this page.
    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.