Page 1 of 1

debugger doesn't do anything

Posted: Thu Mar 30, 2017 2:16 am
by caibbor
Nothing happens at all when I click "debug" (no errors, warnings, windows, etc).

Happens in codelite 9.2.0 as well as 10.0.3 (I just updated).

Running MinGW 6.3.0 built for 32 bit (my project is 32 bit) by MinGW-W64 version

The debugger output gives this until I click the "stop debugging" button.

Code: Select all

Using gdbinit file: C:\Users\Antic\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: D:\home\antic\proj\btech3\codelite
Launching gdb from : ../run
Starting debugger  : C:/mingw-w64/i686-6.3.0-release-posix-dwarf-rt_v5-rev0/mingw32/bin/gdb.exe --command="C:\Users\Antic\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi "../run/btech3_debug"
Debug session started successfully!
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"\nand "show warranty" for details.
This GDB was configured as "i686-w64-mingw32".\nType "show configuration" for configuration details.
\nFor bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../run/btech3_debug...
done.
C:\Users\Antic\AppData\Local\Temp\codelite_gdbinit.txt:

Code: Select all

python
import sys
sys.path.insert(0, 'C:\Users\Antic\AppData\Roaming\codelite\gdb_printers')

from libstdcxx.v6.printers import register_libstdcxx_printers
register_libstdcxx_printers (None)

from qt4 import register_qt4_printers
register_qt4_printers (None)

from wx import register_wx_printers
register_wx_printers (None)

end
If I type "run" or "step" commands into GDB, I get a dialog box that says "Can't interrupt debuggee process: I don't know its PID!" and then GDB exits with error 193 (error creating process)

Re: debugger doesn't do anything

Posted: Sat Apr 01, 2017 1:04 am
by eranif
I can only recommend to install and try a different debugger.
Also, please enable the debugger log (see my signature)