cancel
Showing results for 
Search instead for 
Did you mean: 

All, I ran into a problem with Truestudio IDE 1.7.0 breakpoints and was hoping someone could tell me what caused it and how to fix it. The breakpoint (circled) is slash in the middle and is not recognized in debug mode.

Hiram Hyman
Associate III

0693W00000JNUGLQA5.png0693W00000JNUGGQA5.png

1 ACCEPTED SOLUTION

Accepted Solutions

Thank you so much! Now I know! Can we blame it on Diplopia?

Nah! I'll take it!

Problem resolved.

View solution in original post

3 REPLIES 3
KnarfB
Principal III

Try a lower optimization level for the compiler, like -O0.

At higher level, the compiler might move code around, reorder, inline,...

The underlying gdb can also break at function entry by using

break <functionname>

in the debugger console. Function might need an underscore prefix _, check .map file.

hth

KnarfB

Javier1
Principal

I dont know if you did it on purpose but it seems you disabled all breakpoints.

try unselecting that option in your toolbar0693W00000JNXONQA5.png

we dont need to firmware by ourselves, lets talk

Thank you so much! Now I know! Can we blame it on Diplopia?

Nah! I'll take it!

Problem resolved.