Asked  6 Months ago    Answers:  5   Viewed   43 times

Let's say I have a source file with many preprocessor directives. Is it possible to see how it looks after the preprocessor is done with it?



cl.exe, the command line interface to Microsoft Visual C++, has three different options for outputting the preprocessed file (hence the inconsistency in the previous responses about Visual C++):

  • /E: preprocess to stdout (similar to GCC's -E option)
  • /P: preprocess to file
  • /EP: preprocess to stdout without #line directives

If you want to preprocess to a file without #line directives, combine the /P and /EP options.

Tuesday, June 1, 2021
answered 6 Months ago

You can hit Ctrl+Break on the keyboard to cancel/stop a build that is currently in progress.

Sunday, August 8, 2021
Michael Emerson
answered 4 Months ago

There are tons of improvements. The best part is you can continue to target .Net 2.0 with VS 2008 (Multi-Targeting) and use all the new IDE features.

Posting couple of screencasts but you can find more on web:

Script intellisense and debugging in Visual Studio 2008

Multi-threading Debugging Enhancements in Visual Studio 2008

Tuesday, August 10, 2021
answered 4 Months ago

Ok, I found the solution here.

The answer is:

  1. Window -> New Window
  2. Window -> New Vertical Tab Group

This duplicates the current tab so you'll get [Form1.cs:1] and [Form1.cs:2] tabs; and then you can use a vertical tab group to view them side by side.

Monday, September 13, 2021
answered 3 Months ago

Just for history: I've implemented my own solution based on Expression Evaluator Add-In. It doesn't fit well enough, but I was able to implement all what I needed.


I've created a publicly available Visual Studio extension. It is available to download from its SourceForge project page, called NativeViewer. Check for description on how to use it.

Monday, November 1, 2021
answered 1 Month ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :