Debug the transformation

To debug, switch the transformation in the TwinCAT3 project over to debug and activate the real-time debugger.

Debug the transformation 1:
Switch over to debug configuration
Debug the transformation 2:
Activate real-time debugging

The MyTrafo.sys debug driver and the associated pdb file are copied automatically to the Autoinstall directory when the configuration is activated.

You can start debugging the transformation project after starting TwinCAT in the "RUN" state and setting the associated breakpoints.

Debug the transformation 3:
Breakpoint in the transformation