Open
Description
DroneKit-Python currently allows debugging using print/log statements and with the command line pdb debugger. It is not particularly easy to use because the console interleaves MAVProxy messages and script print output with the debugging information. In addition, there is no way to launch the script in debug mode - the script has to be modified to include statements that start the debugger once it is running.
We would like to improve the debugging experience. Some ideas include:
- Instructions/information on how to set up debugging using an IDE like Eclipse, PyDev, IDLE
- Provide ability to filter console output display, splitting out debug messages from script output and MAVProxy messages.
- Support for starting a script in a debugger from MAVProxy
- Support to attach to a running script with a debugger and break into it.
Ideas/suggestions/implementations welcome.