Per the documentation for ConnectIQ 3.2, it should be possible to use mdd as a command line debugger
mdd --help usage: mdd [-d <arg>] [-e <arg>] [-h] [-x <arg>] -d,--device <arg> Device to simulate -e,--executable <arg>CIQ executable (PRG) to debug -h,--help Print help message -x,--debug-xml <arg> CIQ debug.xml of the provided PRG
For me, mdd mostly times out while loading the prg file.
There is a set timeout command (below) but this does not appear to change the behavour from the mdd command line or the file command within a session
(mdd) help set timeout Set timeout limit to wait for the CIQ virtual machine to respond to NUM seconds. Usage: set timeout NUM. ---------------------------------------------------------------------------------- (mdd) help file Set the target executable, debug.xml, and device to simulate. Usage: file EXECUTABLE DEBUG_XML DEVICE_ID EXECUTABLE is a Connect IQ executable to run. DEBUG_XML is the debug.xml generated during app compilation. DEVICE_ID is the device to simulate. File paths can have spaces as long as the path is wrapped in quotes.
For example
(mdd) set timeout 5000 (mdd) show timeout The timeout limit is 5000 second(s). (mdd) file bin/myApp.prg bin/myApp.prg.debug.xml edge520plus Loading app: path_to_app\bin\myApp.prg Failed to launch the app: Timeout
timeout occurs after roughly one second
The same for the command line directly:
mdd -d edge520plus -e bin/myApp.prg -x bin/myApp.prg.debug.xml Connect IQ Version 3.2.5. Type "help" for more information. Loading app: path_to_app\bin\myApp.prg Failed to launch the device: Timeout (mdd) quit
There are no spaces in the filenanes and I've tried with forward slashes and backward slashes