openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] Visual Studio Tip


From: Chris
Subject: [Openexr-devel] Visual Studio Tip
Date: Fri, 1 Sep 2006 15:28:12 -0700

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]