question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Matt Long answered

Debugging in the script window does not work

Hi,

I wanted to debug some code in my script window. When I press debug from the dropdown at the run button, a code view opens with a red debug circle, but the code is already completed. So I can not step through the code. This problem is in FlexSim 17.0.1.

Thanks in advance

FlexSim 17.0.0
scriptdebug
· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matt Long avatar image
1 Like"
Matt Long answered

We are aware that the new compiler does not properly handle putting breakpoints on lines that are not code (ie comments). It's on our dev list to update the code windows so it will automatically find the next line of code if a breakpoint is placed on a comment. If you want to debug code in the script window, make sure the first line is code.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.