User forums > Nightly builds
The 17 September 2011 build (7452) DEBUGGER BRANCH version is out.
imianz:
I'm sorry, it's a my mistake, I move it to the right section (I hope!)
renega_666:
Hi!
I have an issue with breakpoints and the call stack window in the debugger branch (rev 7452) on Windows XP and Windows 7.
1)Whenever I remove a break point while my program is running, this break point is always hit. It disappears if I stop debugging and restart again.
2) The call stack is always empty when my program hit a break point. I have to close the call stack window and re-open it to view its content.
I'm only using the debugger branch so I don't know if those bugs are only related to this branch.
oBFusCATed:
Can I ask you to enable the full debugger's log (Settings -> Debugger -> Debugger's debug log) and then paste it here (using code tags)?
renega_666:
Of course, here it is:
--- Code: ---PATH=.;D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\bin\Debug;D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\bin\Release;D:\Projects\TestGameEngine\libs\SirmoGameEngine\libs\Sirmo3DEngine\trunk\bin\Debug;D:\Projects\TestGameEngine\libs\SirmoGameEngine\libs\Sirmo3DEngine\trunk\bin\Release;D:\Projects\TestGameEngine\libs\SirmoGameEngine\libs\SirmoSoundEngine\trunk\bin\Debug;D:\Projects\TestGameEngine\libs\SirmoGameEngine\libs\SirmoSoundEngine\trunk\bin\Release;D:\Projects\TestGameEngine\libs\SirmoGameEngine\libs\libsig\lib;D:\Projects\TestGameEngine\libs\SirmoGameEngine\libs\sfml\lib;C:\MinGW32\bin;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\doxygen\bin;C:\Program Files\Fichiers communs\Autodesk Shared\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\DoxyGen1_6\bin;C:\Program Files\Fichiers communs\Adobe\AGL;C:\Program Files\Graphic Remedy\gDEBugger\;C:\Program Files\Autodesk\Backburner\;C:\Program Files\Visual Leak Detector\bin;C:\Program Files\NVIDIA Corporation\Cg\bin;C:\Program Files\Lua\5.1;C:\Program Files\Lua\5.1\clibs;C:\Program Files\AMD\CodeAnalyst\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Cppcheck\;C:\Program Files\Graphviz 2.28\bin;C:\Program Files\Internet Explorer;C:\Program Files\NVIDIA Corporation\Cg\bin;C:\Program Files\IDM Computer Solutions\UltraCompare\;C:\Program Files\COLLADA\COLLADA_Refinery\bin;C:\Program Files\Java\jre6\bin
Command-line: C:\MinGW32\bin\gdb.exe -nx -fullname -quiet -args D:/Projects/TestGameEngine/trunk/bin/Debug/TestGameEngine_d.exe
Working dir : D:\WorkingDirectory
> set prompt >>>>>>cb_gdb:
Reading symbols from d:\projects\testgameengine\trunk\bin\debug\TestGameEngine_d.exe...
done.
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set print elements -1
>>>>>>cb_gdb:
> set debugevents on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> catch throw
Catchpoint 1 (throw)
>>>>>>cb_gdb:
> source C:\Program Files\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
>>>>>>cb_gdb:
> set print static-members off
show print static-members off
>>>>>>cb_gdb:Printing of C++ static members is off.
> directory D:/Projects/TestGameEngine/trunk/
>>>>>>cb_gdb:Printing of C++ static members is off.
> break "D:/Projects/TestGameEngine/trunk/src/TestApplication.cpp:105"
>>>>>>cb_gdb:
> run
>>>>>>cb_gdb:Breakpoint 2 at 0x403b5c: file D:\Projects\TestGameEngine\trunk\src\TestApplication.cpp, line 105.
>>>>>>cb_gdb:
gdb: windows_init_thread_list
[New Thread 3408.0x698]
[New Thread 3408.0x718]
[New Thread 3408.0xc38]
[New Thread 3408.0x8e0]
[New Thread 3408.0x6ec]
[New Thread 3408.0x504]
[New Thread 3408.0xc50]
[New Thread 3408.0xb88]
[New Thread 3408.0xac4]
[New Thread 3408.0x780]
warning: !!!Warning!!!: Impossible de jouer l'animation du modèle, l'index est out of range!
Breakpoint 2, sge::TestApplication::onFramePreUpdate (this=0x23fdb8) at D:\Projects\TestGameEngine\trunk\src\TestApplication.cpp:105
d:\projects\testgameengine\trunk\src\testapplication.cpp:105:3701:beg:0x403b5c
>>>>>>cb_gdb:
> set debugevents off
> bt 30
>>>>>>cb_gdb:
#0 sge::TestApplication::onFramePreUpdate (this=0x23fdb8) at D:\Projects\TestGameEngine\trunk\src\TestApplication.cpp:105
#1 0x6cb4bad6 in sge::GameApplication::doFrame (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:330
#2 0x6cb4ba2a in sge::GameApplication::doGameLoop (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:317
#3 0x6cb4aac7 in sge::GameApplication::Run (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:132
Cannot access memory at address 0x0
#4 0x004016ef in WinMain@16 (hThisInstance=0x400000, hPrevInstance=0x0, lpszArgument=0x251f20 "", nCmdShow=10) at D:\Projects\TestGameEngine\trunk\main.cpp:32
#5 0x0041954e in main (argc=) at ../mingw/main.c:73
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0 sge::TestApplication::onFramePreUpdate (this=0x23fdb8) at D:\Projects\TestGameEngine\trunk\src\TestApplication.cpp:105
#1 0x6cb4bad6 in sge::GameApplication::doFrame (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:330
#2 0x6cb4ba2a in sge::GameApplication::doGameLoop (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:317
#3 0x6cb4aac7 in sge::GameApplication::Run (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:132
#4 0x004016ef in WinMain@16 (hThisInstance=0x400000, hPrevInstance=0x0, lpszArgument=0x251f20 "", nCmdShow=10) at D:\Projects\TestGameEngine\trunk\main.cpp:32
#5 0x0041954e in main (argc=) at ../mingw/main.c:73
>>>>>>cb_gdb:
> cont
Breakpoint 2, sge::TestApplication::onFramePreUpdate (this=0x23fdb8) at D:\Projects\TestGameEngine\trunk\src\TestApplication.cpp:105
d:\projects\testgameengine\trunk\src\testapplication.cpp:105:3701:beg:0x403b5c
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0 sge::TestApplication::onFramePreUpdate (this=0x23fdb8) at D:\Projects\TestGameEngine\trunk\src\TestApplication.cpp:105
#1 0x6cb4bad6 in sge::GameApplication::doFrame (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:330
#2 0x6cb4ba2a in sge::GameApplication::doGameLoop (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:317
#3 0x6cb4aac7 in sge::GameApplication::Run (this=0x23fdb8) at D:\Projects\TestGameEngine\libs\SirmoGameEngine\trunk\src\GameApplication.cpp:132
#4 0x004016ef in WinMain@16 (hThisInstance=0x400000, hPrevInstance=0x0, lpszArgument=0x251f20 "", nCmdShow=10) at D:\Projects\TestGameEngine\trunk\main.cpp:32
#5 0x0041954e in main (argc=) at ../mingw/main.c:73
>>>>>>cb_gdb:
> quit
--- End code ---
Hope this will help you!
oBFusCATed:
--- Code: ---Cannot access memory at address 0x0
--- End code ---
Probably this breaks the call stack refresh.
p.s. I've added it to the TODO list and I'll check it when I get there.
p.p.s. At the moment I've redesigned the breakpoints, so this should wait a bit, I'm just testing it now.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version