How To : Using Debugging
Page Status: Beta
Contents |
[edit] Description
This document describes how to use debugging in Bungee Builder.
[edit] Prerequisites
Understanding Simulate and Debug
Overview : Building a Bungee-powered Application
Introduction to Bungee Builder
Adding a Class to a Project
Adding a Function to a Class
Working with Bungee Logic
Simulating Your Project or Application
[edit] Procedures
[edit] Setting a Breakpoint
Breakpoints enable you to examine the state of your application at a specific point so that you can debug your code.
To set a breakpoint:
- Open a code view of your class or function (double-click on the class or function in the Solution Explorer or Solution Details).
- Select the code statement where you want to stop code execution when you are debugging.
- On the far right of the top pane of the Property Editor, select Set Breakpoint. A red dot appears at the beginning of the line.
- When you debug your application, the breakpoints halt execution, and pop up a window that shows the state of program statements.
[edit] Debugging a Project
To debug a project:
- Set breakpoints in your code.
- Make sure a form that represents the code in which you set breakpoints is displayed in the Design Editor.
- In the Run toolbar at the top of the Design Editor, click the Run with debug button.
- The Debugger window is invoked together with your form.
- Interact with your form. When a breakpoint is encountered, use the Debugger window to step through your code, or view events, etc. to debug your code.
[edit] Error Handling
[edit] Examples
Breakpoint set in code:

[edit] Next Steps
Posting, Sharing, Deploying, and Managing your Applications



