question

Tobias Biemueller avatar image
1 Like"
Tobias Biemueller asked Phil BoBo edited

Breakpoint fire Wrong

@phil.bobo

sorter-system-debug.fsm

Hello, i opened the window with the breakpoint.. Start the model and on my computer it stops after the loop, not at the breakpoint.

If you have any questions, please contact me.

Best regards

Tobias

FlexSim 16.1.2
debuggingdebugbreakpoint
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

·
Phil BoBo avatar image
3 Likes"
Phil BoBo answered Phil BoBo edited

This looks like a bug with where the breakpoint UI is putting the break in the FlexScript bytecode.

You can work around this bug by using the debug() command explicitly before the line you want to break on:

I'll make a note on the development list to look into why this is happening and how to fix it.

Thanks.


debug-command.png (45.5 KiB)
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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