Log Console Output

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Log Console Output

Jump to solution
2,612 Views
ITCO00
Contributor III

Hi,

 

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

 

ITCO

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,509 Views
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

View solution in original post

0 Kudos
1 Reply
1,510 Views
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 Kudos