How to find exactly which line of the PLC program causes page exception fault? using fault details.
Page exception fault description find below.
How to find exactly which line of the PLC program causes page exception fault? using fault details.
Page exception fault description find below.
Hi,
Not in every case it’s possible to detect the right line of code causing the pagefault using the logger, but please check the backtrace.
Details about can be found in the excellent thread from Andrew here:
Best regards.
Hello,
Create a wait := TRUE variable in the init routine of your first executed program. Then download the project and enter debugger mode. Set a breakpoint on the wait variable.
In debugger mode you toggle the wait variable to false and step through your code until you get the page fault. Then you will know what line crashes the program.