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