MDB: The Microchip Debugger
Microchip Debugger is a command line utility used to interact with Microchip's debug tools, both hardware (MPLAB® REAL ICE®, MPLAB® ICD 3, PICkit™ 3) and software (MPLAB-SIM Simulator).

MDB, modeled after the popular open source GNU debugger (GDB), is a utility that provides command line access and scripting capabilities for the integrated debugger used by MPLAB® X IDE. Most typical debugging and programming activities may be performed interactively on the command line, but the real power lies in the ability to write scripts to control an automated testing or progamming process.

MDB is installed along with MPLAB® X IDE.

Key Features

  • Provides access to Microchip debuggers from a terminal or console
  • Faster than the IDE for some projects
  • Can be run from scripts to automate repetitive tasks
  • May be invoked from a script (execute/call or mdb.bat)
  • Uses a syntax similar to the GNU debugger (GDB)
  • Special commands synchronize the debugger and MDB script reader
  • Stimulus Control Language (SCL) files can be loaded using the stim command
  • Core jar (Java) files enable the creation of custom MDB interfaces

 Self-Paced Training

The material in these training modules exists elsewhere on this site in a general reference format. However, the training modules present it in an organized, step-by-step sequence to help you learn the topic from the ground up.

Tutorial / Class Title

 Frequently Asked Questions

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.