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
You can hit Ctrl+Break on the keyboard to cancel/stop a build that is currently in progress.
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
Ok, I found the solution here.
The answer is:
- Window -> New Window
- Window -> New Vertical Tab Group
This duplicates the current tab so you'll get
[Form1.cs:2] tabs; and then you can use a vertical tab group to view them side by side.
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.