2.2.2 Invoking the MDB
Use the Command Prompt to invoke MDB.
In Windows® 10, use the Command Prompt (Start>All Programs>Accessories>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. The vn.nn
in the path represents the version number, for
example v5.50. These paths are long so you may want to add them to your path
variable.
Windows 64-bit Operating System |
c:\Program
Files\Microchip\MPLABX\vn.nn\mplab_platform\bin>mdb.bat |
Linux® Operating System |
/opt/microchip/mplabx/vn.nn/mplab_platform/bin/mdb.sh |
macOS™ Operating System |
/Applications/microchip/mplabx/vn.nn/mplab_ide.app/Contents/Resources/mplab_platform/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.