Tool Output not capturing output.
Posted: Tue Jan 19, 2010 4:32 am
I am using a C compiler (MPC) as an external tool. The tool seems to run ok as either a direct tool command or as part of a batch file. However, the Tool output window does not capture the output. Instead, the results are reported as "Tool completed with exit code 1" if there are errors, else code 0.
As a second problem, the MPC tool prefers to send the errors and warnings as a separate file, for example in V_main.err. Is there a way to convert this file to the tool output window so that I can use the regular expression technique to jump to the errors? If the error file is not commanded, the errors are output to DOS but not in a form that can be converted by regular expressions.
As a second problem, the MPC tool prefers to send the errors and warnings as a separate file, for example in V_main.err. Is there a way to convert this file to the tool output window so that I can use the regular expression technique to jump to the errors? If the error file is not commanded, the errors are output to DOS but not in a form that can be converted by regular expressions.