We have found out that many users are unaware of the fact that Enterprise Dynamics contains a debugger to step through the 4DScript code.
In the attached pdf document you can learn how to use the debugger.
I find it really helpfull to use the EnterDebugger(1) command in combination with an if-statement to act as a breakpoint to start debugging.
Read the pdf for a full step-by-step description of the Enterprise Dynamics debugger.
- (3.42 MiB) Downloaded 995 times
- - Open the debugger
- Turn the debugmode (top left icon) off and then on again (this way code can be executed with the debugger on)
- Close the debugger by pressing the close button
- Run the simulation
- When the access violation message pops up press: Ctrl + Break and then press enter