Debug NetLogic
Identify, investigate, and fix issues with NetLogic code by locally using Visual Studio or Visual Studio Code.
To debug NetLogic remotely, see Debug runtime NetLogic remotely.
TIP:
NetLogic errors are reported at runtime in the
FactoryTalk Optix Studio
log panel. NetLogic runtime errors are reported in the tab of the target on which the application runs (for example, Emulator Output
). The design-time NetLogic errors are reported in the Output
tab.- Download, install, and set Visual Studio or Visual Studio Code as the default code editor. See Set the default code editor.
- If you want to debug with Visual Studio Code, install the C# extension: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp.
- To debug NetLogic in runtime, inFactoryTalk Optix Studio, selectRunTIP: You can run the project on the Emulator target for debugging.
Provide Feedback