Page 1 of 1

How to get the Debug mode to respect breakpoints?

Posted: Tue Sep 04, 2018 11:53 pm
by Buphagus
I have breakpoints set in the code. Debug mode is enabled. I start a run (with debugger).
The test run starts and completes and the breakpoints are not tripped.
(one breakpoint is on a report.log statement, that was modified for this test. The new message appears in the log, but it did not stop at this point).

How do I get the breakpoints to be respected?

I am trying to test a WPF application, though this is failing long before touching the app; in usercode of execController.
I am modifying /extending an inherited working test suite.

This is a Windows 10 OS. with Ranorex 8.2.1

Thank you,
Bill

Re: How to get the Debug mode to respect breakpoints?

Posted: Wed Sep 05, 2018 7:39 am
by odklizec
Hi,

It sounds like a problem with project/Ranorex studio configuration? Have you tried to create a new solution with breakpoints? If they works in new solution, try to simulate the situation from your old solution.

At first, copy all settings (both Ranorex studio settings and project settings), from old solution to new one. If the breakpoints still work in new solution, try to add the user code from the non-working project.

BTW, have you tried to debug the solution on another machine? Try also uninstall and re-install Ranorex.