Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VSPackage, debugger2.ExecuteStatement: What would expect the IDE state and call status after timeout time

$
0
0

The code below is executed in a timer function in a VSPackage project.

debugger2.ExecuteStatement("MyMethod()", 1000, false);

What would happen if MyMethod() hasn't finished but it reaches the timeout period? Would MyMethod() gets aborted, or the method will keep going but the above call return to the next statement in Visual studio IDE?

and what would be the IDE state after the timeout period? Should IDE in Running state, or break state?

I saw different behaviors in the IDE, sometimes the IDE is still in Running state, sometimes it is in break state, I was wondering why.


NR1234






Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>