up: programming  
programming tools
using gdb
What links here?

start from command line with:

gdb

Include the file extention.

Commands:
Runrun the program
break filename.cpp:line_number set breakpoint
break function_name set breakpoint at start of function
continue continue running after a breakpoint.
next execute next line of code. If the line contains a function call, it is treated as a single line.
step execute next line of code. If the line contains a function call, it is stepped into.
print i display contents of variable
where display function call stack
frame n switch to call stack frame n. 0 is the current stack frame.
set args to set command line arguements.


using gdb as the jit debugger:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"UserDebuggerHotKey"=dword:00000000
"Debugger"="\"C:\\gdb\\bin\\gdb.exe\" -p %ld"



References:
programming tools - using gdb
Topical Bible - Pharisees
bible - bible on the bible
filename:programming tools - using gdb
filename:programming%20tools%20%2D%20using%20gdb
last edit:October 17 2010 21:44:24 (5239 days ago)
ct = 1740080633.000000 = February 20 2025 14:43:53
ft = 1287366264.000000 = October 17 2010 21:44:24
dt = 452714369.000000