Debugging Tips

From qtnode

Jump to: navigation, search

Debugging Quick primer:

  1. gdb myprogram.exe (gdb ./myprogram if you're on linux)
  2. "start"
  3. "continue" if it ever stops to load a shared library
  4. "bt" to get the backtrace after it crashes
  5. "quit" when you're done

Actually, I think the Windows GDB uses "run" instead of "start"

Personal tools