Debugging programs

From Hackspire
Revision as of 08:58, 6 November 2010 by ExtendeD (talk | contribs) (Creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

nspire_emu's native debugger

nspire_emu includes a simple command-line ARM debugger you can bring up from the Emulation > Enter debugger menu. It features ARM disassembly, instruction stepping, memory and instruction breakpoints, backtracing and memory dumping. The debugger commands available can be shown with the command '?'.

Ncubate's GDB support

GDB is the GNU Project Debugger. The Ncubate emulator implements the GDB Remote Serial Protocol for compatibility with any GDB front end such as the standard command-line interface, Insight or Eclipse CDT.

GDB allows source-level debugging, which means:

  • for ARM developments, you can see you assembly symbols while debugging
  • you can execute line-by-line your C programs, view the content of C variables during execution and set breakpoints from the source code