Author Topic: Little problem with debugger  (Read 3168 times)

Offline tom0769

  • Multiple posting newcomer
  • *
  • Posts: 42
Little problem with debugger
« on: April 06, 2008, 08:18:55 pm »
Hi,

I'm using C::B 8.02 with mingw 3.4.5 and gdb 6.7.50 on a notebook with Win2000, PIII, 850MHz, 256k RAM.
When starting debugging a win gui application the following output occurs in the debbuger output window:

Building to ensure sources are up-to-date
Build succeeded
Selecting target:
debug
Adding source dir: E:\Programme\CodeBlocks\Work\HexPatcher\
Adding source dir: E:\Programme\CodeBlocks\Work\HexPatcher\
Adding file: C:\Programme\CodeBlocks\Work\HexPatcher\HexPatcher_debug.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.7.50.20071127
Child process PID: 756
Program received signal SIGTRAP, Trace/breakpoint trap.
In ?? () ()
Continuing...
Program received signal SIGTRAP, Trace/breakpoint trap.
In ?? () ()
Continuing...

As you can see, after 3 times clicking "Continue" the program starts and can be debugged as desired.
When closing the application I have to additionally stop the debugger.
Release target runs fine.
For the same project on my other notebook (Win XP, Intel Dual Core 1,83MHz, 2GB RAM) all the above mentioned issues in debugging don't occure, everything works fine.

I think I missed a little setting or something like that?! :?

Nobody with similar problem....?
« Last Edit: April 12, 2008, 06:37:07 pm by tom0769 »

Offline frankmail007

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: Little problem with debugger
« Reply #1 on: May 09, 2008, 05:54:33 am »
I have similar problem. But I compiled my application in Ubuntu. The application can't be stopped at command line in debug and release mode. It only happened for wxWidgets application.