question

Tobias Biemueller avatar image
0 Likes"
Tobias Biemueller asked Phil BoBo commented

Breakpoint fire wrong?

Hi,

i have a curious problem. I set a breakpoint in a condition but he fires every time, no matter is the condition true or false. It stops every time like the picture below.

Any ideas about this problem?

Best regards & Thank you

FlexSim 16.1.2
debugbreakpoints
breakpoint.jpg (56.7 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.

Phil BoBo avatar image
1 Like"
Phil BoBo answered

@Tobias Biemueller I don't think the breakpoint is firing because it "is too deep in a loop." Please post your model as a private question so that we can duplicate the issue and tell you what is happening.

5 |100000

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

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered Phil BoBo commented

Probably not the problem but are you sure the "Auftraege_Hold" is a valid pointer? Because if not it might be that it returns a random number larger than 0 and always fulfils the condition.

· 3
5 |100000

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

Tobias Biemueller avatar image Tobias Biemueller commented ·

Thanks. All the elements are valid, i use them in different cases. What i can imagine is, that the breakpoint is to deep in a loop.

0 Likes 0 ·
michael.smith avatar image michael.smith Tobias Biemueller commented ·

When you debug step by step do you enter the loop?

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ michael.smith commented ·

We resolved this issue in a private question. It was a bug in our debugger that was stopping on the wrong line. The bug has been added to the dev list.

0 Likes 0 ·