문제

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 :)

도움이 되었습니까?

해결책

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"

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top