How to find the exact line number of error?

How to find the exact line number of error?

asb_praneeth
Not applicable
6 Views
1 Reply
Message 1 of 2

How to find the exact line number of error?

asb_praneeth
Not applicable

[ FlexSim 17.0.11 ]

capture.jpg

While running the model due to null pointer references model is trowing exception errors in system console. While throwing errors it is not specifying line number where this error is happening.

Is there any why to find the exact line number where is error is happening?

0 Likes
Accepted solutions (1)
7 Views
1 Reply
Reply (1)
Message 2 of 2

axel_kohonen
Not applicable
Accepted solution

Hi @asb.praneeth

I am not sure if you can get a line number, but as the error comes from UserEvent1 as the error says you should be able to put a break point at the beginning of the user event and then step forward in the code until you get to the line that gives the error.

Hope this helps!