Author Topic: could not debug with gdb after link .lib/.dll file  (Read 2338 times)

thelot

  • Guest
could not debug with gdb after link .lib/.dll file
« 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.



Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: could not debug with gdb after link .lib/.dll file
« Reply #1 on: June 04, 2019, 08:43:02 am »
Are you sure it finds all required dlls?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]