View previous topic :: View next topic |
Author |
Message |
AndreaC
Joined: 17 Feb 2012 Posts: 8
|
Posted: Wed Apr 04, 2012 7:25 pm Post subject: Logging to VS Output Window |
|
|
I'm debugging a ClearWin Win32 application inside Visual Studio Express. Is there a way to log to the Output Window in Visual Studio? |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Wed Apr 04, 2012 9:29 pm Post subject: |
|
|
What is it that you want to log? You should get build messages in the Output window by default. |
|
Back to top |
|
 |
AndreaC
Joined: 17 Feb 2012 Posts: 8
|
Posted: Wed Apr 04, 2012 9:34 pm Post subject: Re: |
|
|
PaulLaidler wrote: | What is it that you want to log? You should get build messages in the Output window by default. |
Sorry for being unclear. I want to write debug messages from my running code (like variable values, or checkpoint messages when the program hits certain spots in the code). Sometimes it's faster than using breakpoints and the Watch window.
Right now I only get the DLLs that are loaded, and the error messages. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Wed Apr 04, 2012 10:45 pm Post subject: |
|
|
You could use a standard PRINT etc. or FTN95 ERRCOUA@ etc. (see FTN95.chm for details) but the results will be sent to the DOS box.
You can send debugging output directly to the Output window when using VS and Microsoft C++ but I don't know of a way to do that using FTN95. |
|
Back to top |
|
 |
|