Log Console Output

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Log Console Output

跳至解决方案
3,393 次查看
ITCO00
Contributor III

Hi,

 

How do I log to file the output to the console (CW 10.1.8)?

 

ITCO

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,290 次查看
CrasyCat
Specialist III

Hello

 

If you want to keep output from a debug session, you should be able to redirect stdout to a file from the Launch Configuration settings.

 

  1. Right-click on the project name in the CodeWarrior Project view.
  2. Select Properties
  3. Choose Run/Debug Settings.
  4. Select the Launch Configuration and click on Edit ....
  5. Switch to the Common tab.
  6. Check File and specify the name of a log file.
  7. Check Append if you need the log file to hold results obtained from multiple debug sessions.

If you want to copy the content of the build console to a file:

  1.  In the console tool bar click the Copy Build Log icon
  2. Specify the name of the file where you want to copy the data

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,291 次查看
CrasyCat
Specialist III

Hello

 

If you want to keep output from a debug session, you should be able to redirect stdout to a file from the Launch Configuration settings.

 

  1. Right-click on the project name in the CodeWarrior Project view.
  2. Select Properties
  3. Choose Run/Debug Settings.
  4. Select the Launch Configuration and click on Edit ....
  5. Switch to the Common tab.
  6. Check File and specify the name of a log file.
  7. Check Append if you need the log file to hold results obtained from multiple debug sessions.

If you want to copy the content of the build console to a file:

  1.  In the console tool bar click the Copy Build Log icon
  2. Specify the name of the file where you want to copy the data

CrasyCat

0 项奖励
回复