469,609 Members | 1,160 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

Heap corruption in .Net 2003 expression evaluator Add-In

I created a dll to evaluate a home-grown data type.

I added an entry in the autoexp.dat pointing to my dll for the data type.

When I try to debug it (_Debug compile), I have the expression evaluator dll
in one instance of DevStudio .Net 2003 and the program using the new data
type in another instance.

I have a breakpoint in two places: the expression evaluator line 1, and
another in the program that uses the data type.

I use Debug->Attach Process and select devenv.exe (the other instance)

I run the attached DevStudio, then hit the break point, which causes the 2nd
break point in the add-in expression evaluator to trigger at the first line
in the expression evaluation function. When I hit "step" I get an invalid
heap assertion and the debugger crashes. Repeat as necessary.

What am I doing wrong?
Jul 21 '05 #1
0 960

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Hyden Zeng | last post: by
3 posts views Thread by JasonRMerrill | last post: by
26 posts views Thread by jamesbeswick | last post: by
8 posts views Thread by Daniel R. Rossnagel | last post: by
3 posts views Thread by DaveJ | last post: by
2 posts views Thread by Barry Edmund Wright | last post: by
2 posts views Thread by Workaholic | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.