Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: thelot on June 04, 2019, 04:56:06 am

Title: could not debug with gdb after link .lib/.dll file
Post by: thelot on June 04, 2019, 04:56:06 am
Dears

I built a simple wxWidgets dialog project and works well, it could debug with gdb well also.

 I attached  a lib/dll module to this project,  the gdb could not enter to debug any more .
it would return "Debugger finished with status 1" immediately.
Quote
Starting debugger: C:\codeblocks-17.12mingw-nosetup\MinGW\bin\gdb32.exe -nx -fullname -quiet  -args C:/CodeBlocks/Sourcecode/wxtest/bin/Debug/wxtest.exe
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.9.1
Child process PID: 27264
Debugger finished with status 1


anyway, the dialog project could build and the lib/dll function works well.


Title: Re: could not debug with gdb after link .lib/.dll file
Post by: oBFusCATed on June 04, 2019, 08:43:02 am
Are you sure it finds all required dlls?