Frage

i want to execute UV4 in source insight, and catch the errors and display.
the batch file context is
c:\Keil\UV4\UV4.exe -b d:\workingcopy\test_project\test.uvproj -o log
type d:\workingcopy\test_project\log
when i run the batch file, and the compile completed correct, it works fun.
but if the compile end by the error, the source insight will show ...\231 does not exist.

enter image description here

how to fix it ?

thanks for any help :)

War es hilfreich?

Lösung

Now i know where the devil is. the error messages output by UV4, is PATH\FILE(LINE) and the regex i use lead SI deal the line as a file. the error line number is 231, so the SI show "231 does not exist"

Andere Tipps

In my Python scripts which call uVision I check the error level of UV4 plus I parse the build log using regex. I always used this manual for reference.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top