Forum Discussion

Manfred_F's avatar
Manfred_F
Regular Contributor
8 years ago

Determine whether running in debug/evaluate context

Using debug/evaluate in oop includes Evaluation of each object property.

This also means Generation of any error for that.

In my Code, I use assertions to handle critical situations; in case of an Assertion failling, Runner.Stop is called.

 

This interferes with the debug/Evaluation, occasionally leading to System hangup.

Is it possible to detect this Situation to work around?

In fact, similar Problems occur for watch list expressions.

 

 

A better solution would be stopping TC from hanging up in that execution context..

1 Reply