Thành Nguyễn
New member
How do you write a debugger?
Answer
Writing a Linux Debugger Part 1: Setup
Answer
Writing a Linux Debugger Part 1: Setup
- Launch, halt, and continue execution.
- Set breakpoints on. Memory addresses. Source code lines. Function entry.
- Read and write registers and memory.
- Single stepping. Instruction. Step in. Step out. Step over.
- Print current source location.
- Print backtrace.
- Print values of simple variables.