WideStudio Application Builder User's Guide

| WideStudio Application Builder User's Guide | WideStudio Index Table of contents

> ## How to Debug an Application

> To build an application with debugging mode, select ((menu:Build >> Debug)).

> [Start the debugger]
> Usage of GDB
> Enter "run" to execute an application. Enter "where" to stack trace when the program is stopped by error. Enter "list" to see the position of the source.
> There are the following commands in GDB.
> - Run
>   Run command starts the application.
> - Cont
>   Cont command continues the interrupted application.
> - Step/next
>   Step / next command runs the interrupted application step by step.
> - Where
>   Where command Shows stack trace of function call.
> - print
>   Print command shows the value of variables or functions.
> - list
>   List command shows the current position of source.
> - break
>   Break command adds a break point. Enter it as follows.
>   Break file.cpp:XXX
>   Break CLASS: FUNCTION ()
>   XXX is a line number.
> - cntl-C
>   Cntl-C interrupts the application.

> [Debugging the application]

Document Release 3.70 for WideStudio ver 3.70, Feb 2004

WideStudio documents index | Table of contents

Copyright(C) T. Hirabayashi, 2000-2004 | Last modified: Feb 25, 2004