logo

Wide Studio Application Builder User's Guide

Wide Studio Home
Up to


How to debug an application

You can debug your application with a debugger. Build application with debugging mode, and select [Debug] of the [Build] menu.



[Starting the debugger]

I try to easily describe usage of gdb here. At first,input "run" to execute an application. input "where" to refer to stack trace and see where is, when the program has stopped by error. You can see position of the source by input of "list" that error was generated.
There are the following commands in gdb.
  • run
    Starts the application.
  • cont
    Continues the application which is interrupted.
  • step/next
    Run the application step by step which is interrupted.
  • where
    Shows stack trace of function call.
  • print
    Shows value of variables or functions.
  • list
    Shows the current position of source.
  • break
    Adds an break point. You can input it as follows.
    break file.cpp:XXX
    break CLASS::FUNCTION()
    XXX is a line number.
  • cntl-C
    Interrupts the application.



[Debugging the application]


Document Release 3.0

For Use with Wide Studio Release 3.0, Summer 2002


Wide Stuido Home | Up to

Copyright(C) T. Hirabayashi, 2000-2002 Last modified: June 10, 2002