Are breakpoints introduce delay?
Posted
by kamilo
on Stack Overflow
See other posts from Stack Overflow
or by kamilo
Published on 2010-04-21T14:01:19Z
Indexed on
2010/04/21
14:03 UTC
Read the original article
Hit count: 151
threading
How is that setting a breakpoint in my code allows the following code to complete which would fail otherwise.
Here is the problem.
I'm writing an add-on for SAP B1 and encountered following problem.
When I load a form I would like to enter some values into the form' matrix.
But without a breakpoint (set on a method in which loading a form takes place) the part of code that is executed afterwards will fail. That part of code is referencing a matrix that is not yet displayed which results in an exception. This is all clear. But why setting a breakpoint "solves" the problem.
What is going on?
I suspect that my breakpoint introduces some delay between loading and displaying my form and part of code that references element of that form but I could be wrong.
Thanks in advance
© Stack Overflow or respective owner