Quantcast
Channel: Visual Studio – Ofek's Visual C++ stuff
Browsing all 14 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Microsoft’s Known Issues Policy

As far as I can tell, there isn’t anything there you might seriously call a policy. Well there is an old ‘knowledge base’ searchable either via a solution center or technet. It includes, however, only...

View Article


Image may be NSFW.
Clik here to view.

QuickTip: Toggle disassembly with Ctrl+F11

Short post today. For a long while I’ve been switching to disassembly with Alt+8, as appears under the Debug/Windows menu: - and back with Ctrl+Alt+0, as appears under View menu: A while ago I...

View Article


Image may be NSFW.
Clik here to view.

A Day with VS11 Beta – part 1

A large chunk of our customers still use XP so we won’t be upgrading VS any time soon. Still, out of curiosity I spent some free time with the VS11 Beta and below are some bits and pieces I noticed...

View Article

Image may be NSFW.
Clik here to view.

VS Support Policy

As far back as this MS support page goes, Visual studio editions had a 5-year mainstream support period, and since VS .NET 2003 – a 10 year extended support period. In particular, VS2010 mainstream...

View Article

Image may be NSFW.
Clik here to view.

VS2012 Migration #2: ‘Unspecified error’ Upon Solution Open

Solution: unbind and rebind all projects to source control. You can try and pin-point the offending projects, but why bother. The sln file does change (new SCC binding fields were added) but is still...

View Article


Image may be NSFW.
Clik here to view.

Discovering Which Projects Depend on One

I am working with several large-ish (100+ project) solutions – and at this scale, dependency management is a very real issue. While you can easily view (and set) the dependencies of a project by...

View Article

Image may be NSFW.
Clik here to view.

Discovering Which Projects Depend on a Project – II

In a previous post I shared a hack that enables detection of all projects that depend on a given one, either directly or indirectly. @Matt asks by mail if I can suggest a quick way to isolate only the...

View Article

Image may be NSFW.
Clik here to view.

Debugging Handle Leaks

This is all well documented stuff and I won’t go into details – it’s here mostly for self reference (3rd time I had to chase this down in google). Steps are: (1) Install WDK to integrate the WinDbg...

View Article


Image may be NSFW.
Clik here to view.

Hidden Tracepoint Keywords

The tracepoints window includes instructions for several special keywords, the most useful by far being $CALLSTACK:   These are not all there are – two more exist: $TICK and $FILEPOS. Quoting the...

View Article


Image may be NSFW.
Clik here to view.

Accelerating Debug Runs, Part 1: _NO_DEBUG_HEAP

(A more appropriate but even-less-catchy title might have been ‘accelerating runs from the debugger‘. As elaborated below, these two are not strictly equal). A common notion is that debug builds can...

View Article

Image may be NSFW.
Clik here to view.

An equivalent project (a project with the same global properties and tools...

Quick note: when you get this error while trying to add a VC project to your solution, good chance your project is missing a .filters file. Googling taught me only that the same error message had a...

View Article

Image may be NSFW.
Clik here to view.

How to Make a Phone Book Build and Run

Here’s a short cheat sheet summarizing an internal talk I gave a while ago about VC++ build diagnostics. These switches and tools are all documented, most are surveyed in previous posts here, and all...

View Article

Image may be NSFW.
Clik here to view.

Data Read Breakpoints – redux

The Problem ~5Y ago I blogged about data breakpoints. A hefty bit of the discussion was devoted to persistence of hardware breakpoints across a thread switch: all four implementations linked to assumed...

View Article


Image may be NSFW.
Clik here to view.

VS Support Policy

As far back as this MS support page goes, Visual studio editions had a 5-year mainstream support period, and since VS .NET 2003 – a 10 year extended support period. In particular, VS2010 mainstream...

View Article
Browsing all 14 articles
Browse latest View live