VMS IDE Python
Revision as of 11:38, 28 January 2020 by Sergey vorfolomeev (talk | contribs) (Created page with "== Python == Python debugger is in experimental state. Works fine only for Python 2.7 = Features = # Run python script on VMS side # Breakpoints # Displaying local variable...")
Python
Python debugger is in experimental state. Works fine only for Python 2.7
Features
- Run python script on VMS side
- Breakpoints
- Displaying local variables in each accessible frame
- Multithreading
- Post-mortem information about unhandled exceptions.
- Changing variable value
- Jump to cursor inside a frame (! killerfeature :) )
How to run
- Setup SSH settings
- Setup project settings: only "outdir", "root" and include/exclude masks are important. Outdir is used to hold debugger scripts. Masks used only for synchronization.
- Setup launch: open launch.json, then "Add configuration" => "VMS IDE: Launch Python script".
Header text | Header text |
---|---|
"type": "vms python debugger" | |
"request": "launch" | |
"name": "Launch Python Script" | just name |
"script": "${file}" | file name or "${file}" for currently opened file under cursor |
"port": "55005-55025" | range of local ports on VMS |
"arguments": "" | script arguments |
Select this launch and press F5. Script always stops at the first line.