Forum Discussion

mrouse's avatar
mrouse
Contributor
12 years ago

VB errors when returning from a function call.

Hello All,

I am experiencing an odd issue I haven’t encountered before.

As I am debugging my script by stepping through the code via F10, and my cursor is at the End Function line.  When I press F10 I get an error pop up in my err.name counter.  The code is 500 which Google says is a VB runtime error.  However,  the script doesn’t stop immediately.  I have error checking setup in the code at different points which will stop the code run if any error was detected.

The kicker is if I just run the script it doesn’t catch any error and the script doesn’t stop.

I’m running VB for my language.



Any insight would be greatly appreciated.



My apologizes if this post occurs twice.  The first time I tried to post the forum page closed  so I had to repost it.



Thanks,

 

Mike

1 Reply


  • Hi Mike,


     


    I've heard about a similar issue from another customer. What TestComplete version are you using? Is it reproduced in TC 9.20? Does the problem persist in the same place when debugging the code?