Enable Debugging with C, C++, .NET, and Python Applications in InstrumentStudio

Enable debugging with C, C++, .NET, and Python applications in the Configure Debug Session window.

Note Supporting communication with a device in C, C++, .NET, and Python environments at breakpoints requires additional overhead that might affect performance.

To enable debugging in C, C++, .NET, and Python environments, complete the following steps.

  1. Locate the instrument settings menu (A cogwheel icon for the instrument settings menu of InstrumentStudio.).
  2. Select Configure Debug Session.
    The Configure Debug Session window opens.
  3. Select the checkbox in the Using Breakpoints in C/C++/.NET/Python Applications column for the device that you want to debug.
  4. Click OK.
    InstrumentStudio enables breakpoints in C, C++, .NET, and Python external applications.
  5. Debug the application or device.
  6. Reopen the Configure Debug Session window.
  7. Clear all checkboxes in the Using Breakpoints in C/C++/.NET/Python Applications column.
    InstrumentStudio disables breakpoint support for the selected devices.
  8. Restart the external application.
    InstrumentStudio applies the changes.