JUMPSTART DEBUGGER (JDB)


 

JDB Overview

JDB is ImageCraft’s visual debugger integrated with the CodeBlocks IDE. It has all the modern features one may expect from a visual debugger:

 

·         Breakpoints

·         Variable watch window

·         Call stacks

·         C source level stepping, and assembly level stepping

·         Step in, step over, and step return

·         Viewing of I/O register contents

·         Viewing of memory contents

·         “Poor Man’s Trace” - records of instructions and CPU register values

·         Target reset

 

In particular, being able to view the I/O registers of a Cortex-M MCU is an invaluable debugging tool. Vendor-provided XML files are used so that JDB can even display the I/O registers using the bitfields defined by the silicon vendors.

 

JDB uses CodeBlocks IDE’s windows for the basic debug views. Using the editor as the source code breakpoint and C source line stepping is particularly visually appealing. For more advanced debugging tasks, JDB uses a separate multi-tab window control called Advanced Debug Toolbar (ADT).

 

Refer to the earlier section on Debug/Download Options for options applicable to JDB.

USB Drivers

Just like the iflash-cortex downloading utility, JDB can use hardware debug pods for debugging. Please see the “Downloading to the Target MCU” section for details on which pods are supported and how to install the USB drivers.