cancel
Showing results for 
Search instead for 
Did you mean: 

stvd: one or more breakpoints are not positioned on valid lines

remi23
Associate II
Posted on April 27, 2012 at 15:50

Hi

Here is the bug I found in STVD:

While trying to debug a program I set a breakpoint on a line, load the debugger and bam error:

one or more breakpoints are not positioned on valid lines.

I know this is a valid line, this same breakpoint worked yesterday and before that... I tryed to delete the project files, nothing works

any idea to fix ST software?
5 REPLIES 5
remi23
Associate II
Posted on April 27, 2012 at 15:58

OK I just fixed it using my version control software (Toirtoise CVS)

Reverting all the project file that corrupt themself FOR NO GOOD REASONS

STVD needs really a fix for that. It is not a new error, this error has been around for years!!!

Stm32User
Associate II
Posted on April 27, 2012 at 16:06

I have used STVD for many years and never seen the corruption you mention.

The invalid breakpoint error usually occurs when you set the compiler to a non-debug compatible mode.  Then the source code line is there but the compiler has optimised away the instructions, which is why the breakpoint can't be set 

nick239955_stm1
Associate
Posted on April 25, 2013 at 11:36

I have optimisations turned completely OFF and I get the error also. It never used to happen but now happens all the time. I am going to try creating a new project and importing my source code files.

clevis
Associate
Posted on November 13, 2013 at 10:06

 Maybe resulted from the File directory changed!

  �?�能你修改了工程路径�?

prado
Associate
Posted on July 08, 2014 at 02:38

Hello,

Have you checked if the directory of the files you're trying to set a breakpoint was informed in the field ''Source directories'' on the Debug tab of your project settings?