A simple terminal user interface for the gdb debugger for Odin.
-
Developed on Linux but possible also work on MAC
-
All variables shown with types
-
Full stack trace visible and with navegation
-
Odin slices and strings fully supported
-
Watches auto-update on each step
-
Dynamic terminal size support at start up FULL HD a and 4K
-
Two modes of operation:
- Load executable program at startup compilled with -debug
- Attach to a PID - Process ID already running
-
To search for the PID of a process:
ps aux | grep ./inf.exe
- To run the ogdb to attach to a process_pid
./ogdb -p <process_id>
- Allows for Odin Context enable and disabled in local variables
- Shows parameters values.
Navigation:
j / k - Scroll source code up / down
J / K - Navigate stack frames up / down
Execution Control:
r - Run program
n - Next line ( step over )
s - Step into function
f - Finish ( step out of function )
c - Continue execution
u - Run until current function returns
x - enable / disable odin context var
Breakpoints:
l - Set breakpoint at line
F - Set breakpoint at function
t - Disable breakpoint at function
b - Show/manage breakpoints
Watches and Inspection:
w - Add watch expression
d - Delete watch by ID
W - Show watch expressions view
g - Execute raw GDB command
UI:
h - Toggle this help
q - Quit debugger
MIT Open Source License
Best regards,
Joao Carvalho
