How do you write a debugger?

Thành Nguyễn

New member
How do you write a debugger?
Answer
Writing a Linux Debugger Part 1: Setup
  1. Launch, halt, and continue execution.
  2. Set breakpoints on. Memory addresses. Source code lines. Function entry.
  3. Read and write registers and memory.
  4. Single stepping. Instruction. Step in. Step out. Step over.
  5. Print current source location.
  6. Print backtrace.
  7. Print values of simple variables.
21 мар. 2017 г.
 

Tìm kiếm

Back
Top