user19471767
user19471767

Reputation: 79

Eclipse and CppuTest hangs on unwanted breakpoint

I am using CppuTest (https://cpputest.github.io/) for Unit-Testing embedded Software Code. CppuTest is used as a static compiled library, created by myself. Compiler is MinGW gcc (TDM-2 mingw32) 4.4.1-dw2.

Eclipse version is a special distribution for our company. But this issue occurs on any other eclipse version, too.

So now, I will try to explain my issue.

When my tests gets bigger and then I add a breakpoint at a special place, it does get hit but the editor is not jumping into that breakpoint.

I am getting on eclipse terminal always a message like:

................*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x004179e6",func="test_XXXXX_YYYYY_wrapper_c",args=[],file="..\src\XXX\YYYYTests.c",fullname="Path\File.c",line="169"},thread-id="1",stopped-threads="all

After that sometimes I am getting a pop-up message like this: enter image description here

The debugger console prints this: enter image description here

When my tests fail, I am not able to debug why my tests fail because of this issue. So to "pass" that tests, I deactivate that failing tests.

Has anybody an idea, how can I fix this?

Upvotes: 0

Views: 32

Answers (0)

Related Questions