• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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