How To : Using Debugging

Back to Concepts and HOW TOs

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:

  1. Open a code view of your class or function (double-click on the class or function).
  2. In the Property Editor, select Set Breakpoint. A red dot appears at the beginning of the line.
  3. 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:

  1. When the breakpoint halts execution, a window pops up showing the state of program statements.
  2. Select the primitive whose value you wish to modify (excluding var within functions).
  3. 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

[edit] Tags


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