Previous Next

How to Use MDB : Invoking the MDB

Invoking the MDB
Use the Command Prompt to invoke MDB.
In Windows 7, the Command Prompt must be opened in Administrator mode:
Start>All Programs>Accessories>Command Prompt, right click and select “Run as Administrator.” This opens the Administrator: Command Prompt.
The path to the MDB may vary depending on where the MPLAB X IDE is installed and which operating system is installed. See the following table for the various operating systems and paths. These paths are long so you may want to add them to your path variable.
Table: Paths to the MDB by Operating System
Windows 32-bit Operating System
c:\Program Files\Microchip\MPLABX\mplab_ide\bin>mdb.bat
Windows 64-bit Operating System
c:\Program Files (x86)\Microchip\MPLABX\mplab_ide\bin>mdb.bat
Linux Operating System
/opt/microchip/mplabx/mplab_ide/bin/mdb.sh
Apple OS X
/Applications/microchip/mplabx/mplab_ide.app/Contents/Resources/mplab_ide/bin/mdb.sh
Note:
The mdb.bat and mdb.sh scripts do not need to be run from the directory where they were installed. If the directory where these scripts are installed is added to the system path, then mdb.bat and msb.sh may run from any directory.

Previous Next Microchip Support
Help Updated: 2014-08-12 12:16:04Z
Help Page: 4