• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

Debugger Locking Up

I have Error Trapping set to "Break on Unhandled Errors"

Symptoms:

I set a break point and then start stepping through code. It seems if I dont keep stepping that the debugger (at times) will lock up on a function/sub.

Now I will see the line of code highlighted in yellow AND ALSO! the green arrow pointed to that line.

Every key stroke results in a <Beep> and even when i click start to resume execution nothing happens.

Thanks
0
tricks801
Asked:
tricks801
1 Solution
 
pradapkumarCommented:
can u post that line here? so i can debug it.
0
 
tricks801Author Commented:
It is not just one line of code where the debugger hangs. In addition, some of the functions where it locks up have been in use for several years.
0
 
junglerover77Commented:
I think it's because your debug option is set to "Stop on all errors".

Tools -> Options -> General -> Error Handling -> Stop on un-handled errors

Then it should be all right.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
tricks801Author Commented:
> I have Error Trapping set to "Break on Unhandled Errors"
0
 
tricks801Author Commented:
problem was a result of DoEvents. Thanks
0
 
GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now