User forums > Help

Can't abort the debuger

<< < (2/5) > >>

oBFusCATed:
Post the full log from the debugger then (you have to enable full logging in the settings).

Fik:
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Users\Nikola\Programming\practice\
Adding source dir: C:\Users\Nikola\Programming\practice\
Adding file: C:\Users\Nikola\Programming\practice\bin\Debug\practice.exe
Changing directory to: C:/Users/Nikola/Programming/practice/.
Set variable: PATH=.;C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\CodeBlocks\MinGW;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon

[debug]Command-line: C:\Program Files (x86)\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname  -quiet  -args C:/Users/Nikola/Programming/practice/bin/Debug/practice.exe
[debug]Working dir : C:\Users\Nikola\Programming\practice

Starting debugger: C:\Program Files (x86)\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname  -quiet  -args C:/Users/Nikola/Programming/practice/bin/Debug/practice.exe
done

[debug]> set prompt >>>>>>cb_gdb:

Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints

[debug]Reading symbols from C:\Users\Nikola\Programming\practice\bin\Debug\practice.exe...done.
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB) 7.5
[debug]Copyright (C) 2012 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "i686-pc-mingw32".
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]>>>>>>cb_gdb:
[debug]> set confirm off

Debugger name and version: GNU gdb (GDB) 7.5

[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 0
[debug]>>>>>>cb_gdb:
[debug]> set new-console on
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Function "__cxa_throw" not defined.
[debug]Catchpoint 1 (throw)
[debug]>>>>>>cb_gdb:
[debug]> source C:\Program Files (x86)\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory C:/Users/Nikola/Programming/practice/
[debug]Source directories searched: C:/Users/Nikola/Programming/practice;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Starting program: C:\Users\Nikola\Programming\practice\bin\Debug\practice.exe

Oh I forgot to add, when I press Stop Debugger this shows up in the log : Trying to pause the running process...

oBFusCATed:
Hm, this is rather strange behaviour.
As far as I can see C::B hasn't detected the pid of your executable correctly.

Are you experienced enough to build C::B from source yourself?
I'll do a commit which adds a bit more logging, so problems like this will be more easy to debug in future versions.

Fik:
I'm totally not experienced in this... I'm just a beginner

ollydbg:

--- Quote from: oBFusCATed on March 08, 2014, 03:12:44 pm ---I'll do a commit which adds a bit more logging, so problems like this will be more easy to debug in future versions.

--- End quote ---
Great, I remember that pid detection has no debug logging. If the received text(from GDB output) is cut, there is also no debug logging, maybe there are more. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version