mts-vprodebug READMEThis is extension to enable debugging of Cognex Designer VisionPro ToolBlock scripts and Cognex Designer scripts from Visual Studio Code. Dependency you need to install manually: .NET SDK for visual studio code: https://dotnet.microsoft.com/en-us/download/dotnet/sdk-for-vs-code?utm_source=vs-code&utm_medium=referral&utm_campaign=sdk-install To run the extension: In Cognex Designer application you want to debug, inside VisionPro toolblock you want to debug, change the script compilation config Debug, uncomment or add these lines to code:
compile and close the Script window. In VScode press Ctrl+Shift+P search for MTS_VProDebug, and click or hit enter. When prompted, search for running Designer instance you would like to debug and click or hit enter. Now run the VisionPro toolblock and you code should popup in the VScode windows and breakpoint should be hit. First initialization can take little bit longer (should be under 5 minutes definitely). Wait for Process ID selection please. Example: Demo of MTS VPro Debug FeaturesDebug VisionPro Toolblocks: Attach to Cognex Designer processes to debug toolblock scripts. Breakpoint Integration: Set and hit breakpoints directly within Visual Studio Code. Streamlined Workflow: Simplifies the debugging process for VisionPro, making it more efficient. RequirementsC# extension Dependency you need to install manually .NET SDK for visual studio code: https://dotnet.microsoft.com/en-us/download/dotnet/sdk-for-vs-code?utm_source=vs-code&utm_medium=referral&utm_campaign=sdk-install Extension SettingsKnown IssuesRelease Notes1.1.7
1.1.6
1.1.5
1.1.4
1.1.0
1.1.0
1.0.4
1.0.31.0.21.0.1
1.0.0The extension is able to automatically handle .pdb conversions right after new debug .dlls are created by VisionPro system and automatically reconnects the debugging session. Following extension guidelines |