Discussion:
autoexp.dat with native C++ types
(too old to reply)
Alex
2009-03-23 22:11:42 UTC
Permalink
Hi all,

I have an application that encodes various data into unsigned int
(this is how type is displayed in the debugger). I wanted to create a
Debugging Expression Evaluator that decodes this info. However, it
looks like it is impossible to register evaluator function for C/C++
internal types. When I tried:

unsigned int=$ADDIN(my.dll,MyFunc)
or
int=$ADDIN(my.dll,MyFunc)
or
unsigned=$ADDIN(my.dll,MyFunc)
or
iType=$ADDIN(my.dll,MyFunc)

where iType defined in my program as
typedef unsigned int iType;

My function was simply not invoked. This technology worked for custom
types, though. I wonder if there is any way to achieve what I want? Am
I doing something wrong or this is a known debugger limitation?

Regards,

Alex
pm
2009-05-25 13:30:30 UTC
Permalink
Post by Alex
Hi all,
I have an application that encodes various data into unsigned int
(this is how type is displayed in the debugger). I wanted to create a
Debugging Expression Evaluator that decodes this info. However, it
looks like it is impossible to register evaluator function for C/C++
unsigned int=$ADDIN(my.dll,MyFunc)
or
int=$ADDIN(my.dll,MyFunc)
or
unsigned=$ADDIN(my.dll,MyFunc)
or
iType=$ADDIN(my.dll,MyFunc)
where iType defined in my program as
typedef unsigned int iType;
My function was simply not invoked. This technology worked for custom
types, though. I wonder if there is any way to achieve what I want? Am
I doing something wrong or this is a known debugger limitation?
Regards,
Alex
This probably helps you

http://social.microsoft.com/Forums/en-US/vcgeneral/thread/c1e704f5-ecdb-47e6-89b4-8406b824f42e/


PM-

Loading...