Debugging the transformation

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

Switch over to debug configuration
Switch over to debug configuration
Activate real-time debugging
Activate real-time debugging

Notice

notice

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.

Breakpoint in the transformation
Breakpoint in the transformation