cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple problems in STVD and COSMIC compiler

VYoun
Associate III

Hello everyone,

I am using stm8l151, STVD, and cosmic compiler. I have multiple problems with STVD_STM8. Please help me as these are really confusing. I list some of them below:

  1. After I comment a line in the code, it is still active and the program still executes this line.
  2. There are some parts of the program where execution jumps over many lines and do not execute them.
  3. every time I want to debug, the STVD rebuilds the entire code automatically.
  4. there is a warning when I want to debug that says some of the source files are out of date

these problems are really confusing and I could not find any information about them anywhere on the internet and in forums.

Your help is greatly appreciated.

Best regards,

Vouria Younesi

1 REPLY 1
WilkoL
Senior

1: that sounds like you compile the code for debug but load the release version (or the other way round)

2: you probably have the optimization set to a high level, try setting it to none

3; not sure, but that might be normal...

4; are they out of date? are you and the compiler looking at the same files? did you edit those files with an other editor?