Ask a Question

Breakpoint did not work

SOLVED
kaivi
Contributor

Breakpoint did not work

Hi,

 

I have the problem on a system that TestComplete "ignores" breakpoints. When it reaches a breakpoint, the script pauses for only one second and then stops the entire test. Why? Normally, it paused script execution and waits for my interaction.

 

regards

Kai

 

5 REPLIES 5
tristaanogre
Esteemed Contributor

Is the debugger turned on on that machine? What it sounds like is that, for some reason, debugging is disabled on that machine and that you're getting the error on the breakpoint rather than actually pausing.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Hi,

 

yes the Breakpoints are completly red. 

2019-02-14_15h23_47.png

 

tristaanogre
Esteemed Contributor

Have you tried a repair of the install on that machine?  It sounds like something isn't quite working right and many times an install repair will fix it.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Hi again,

 

yesterday i was able to fix that breakpoint issue. Today I has the same issue but now I know what I have done to create this "failer/error/bug". If i set a breakpoint and TC stops at it and than i add a variable to the watchlist that is already in it I get this "failer/error/bug". So everytime i starts a test from here now with a breakpoint it will no longer paused the test!

 

regards

Kai

tristaanogre
Esteemed Contributor

OK... that is probably due to, maybe, the variable in the watchlist not necessarily being valid each test run... if it's trying to evaluate something that it cannot, TC will error out....  If you can post what you are putting in your watchlist, that might help us understand what can be done to rectify.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: