How To : Using Debugging
Contents |
[edit] Description
This document describes how to use debugging in Bungee Builder.
[edit] Prerequisites
Understanding Debugging
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 or Testing Your Project or Application
[edit] Procedure
To set a breakpoint:
- Open a code view of your class or function (double-click on the class or function).
- In the Property Editor, select Set Breakpoint. A red dot appears at the beginning of the line.
- When you run your application, the breakpoints halt execution, display a code view, and pop up a window that shows the state of program statements.
Editing a primitive value when stopped on a breakpoint:
- When the breakpoint halts execution, a window pops up showing the state of program statements.
- Select the primitive whose value you wish to modify (excluding var within functions).
- In the bottom of the pop up window, you will be able to modify the primitive's value.
[edit] Error Handling
[edit] Examples
Breakpoint set in code:
Pop-up window showing state of program:
Pop-up window showing the editing of string priority:
[edit] Next Steps
Posting Your Application
Deploying Your Application
Managing a Deployed Application