• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 482
  • Last Modified:

Cannot use DebugView alongside VS 2005 (MFC)

Say I have a TRACE statement in my code. It shows in the output window of the VS environment, but I never in the DebugView console I run alongside.  

If I run the program outside the VS then the DebugView shows the TRACEs but I need it to show them when I run from within the VS.

Any suggestions?

0
yossikally
Asked:
yossikally
  • 3
  • 2
1 Solution
 
LordOfPortsCommented:
Try Ctrl+F5 while in VS or on the menu click on Debug -> Start Without Debugging. The VS debugger is probably intercepting the TRACE output and DebugView does not receive it.
0
 
yossikallyAuthor Commented:
So no way to enjoy best of both: break points and variable values in the debugger, and Debugview for tracing?
0
 
jkrCommented:
Well, VS shows you the debug output also - just choose "Debug|Windows|Output" and you will see the same trace output that DebugView displays.
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
yossikallyAuthor Commented:
But then I have to switch back and forth from debugging window to output window, as well as lose some information included in DebugView (like PID, time, etc.)
0
 
LordOfPortsCommented:
The best I can think of would be to pin the Output and Autos windows next to each other. I believe if the VS debugger is active it will intercept the TRACE output so that DebugView will not receive it and if the application is not running in debug mode you will not have several feature provided by VS for debugging. I am not aware of an option that would allow both.
WindowArrangement.png
0
 
yossikallyAuthor Commented:
ok, as good as it gets, I guess.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now