openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Openexr-devel] Visual Studio Tip


From: Nick Porcino
Subject: RE: [Openexr-devel] Visual Studio Tip
Date: Tue, 5 Sep 2006 12:51:36 -0700

Awesome, thanks!

 

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Chris
Sent: Friday, September 01, 2006 3:28 PM
To: address@hidden
Subject: [Openexr-devel] Visual Studio Tip

 

This is just a tip I wanted to share for Visual Studio 8 that allows you to see half values in the debugger.

Disclaimer: This uses undocumented features of Visual Studio and as such it is possibly dangerous. I have not had trouble with it, but who knows.

In the file, "Microsoft Visual Studio 8\Common7\Packages\Debugger\autoexp.dat", in the section [Visualizer], somewhere after the line "; DO NOT MODIFY", add the code:

half{
    preview([$c._toFloat[$c._h].f, f])
}

For the reference I used for this (and an understanding of what that code does), see http://www.virtualdub.org/blog/pivot/entry.php?id=120

-Chris


reply via email to

[Prev in Thread] Current Thread [Next in Thread]