> The problem is debugging. Visual Studio is having a very hard time stepping
> through my project. It constantly hangs and/or crashes. I have never had
> problems like this before, and it seems to only be related to combining
> managed c++ and native c++ classes in the same project.

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks for your quick response Gary,
My program works find in both release and debug mode, it is only when I'm
stepping through it in the debugger that the problems occour.
"lots of the interop marshalling work across the managed/unmanaged boundary
will squeeze out the capability of the debugger sometimes"
I am running on a 3Ghz machine with a Gig of Ram. I understand that the
interop marshalling can be expensive, but I would think my machine could
handle it. When you say that lots of marshalling will squeeze out the
capability of the debugger, what exactly do you mean by "lots"? Are there
any papers or technical articles about this? It is very important for me to
be able to step through my code in the debugger, and I am very interested in
any known limitations of the debugger.
Thanks again!
-Jim
> Hi Jim,
>
[quoted text clipped - 23 lines]
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --------------------
Ronald Laeremans [MSFT] - 03 Jun 2004 00:31 GMT
Hi Jim,
There are know bugs in the debugger interop stepping code. The only thing in
general you can do it to try and avoid stepping over these points as much as
possible (e.g. by setting breakpoints rather than stepping).
Ronald Laeremans
Visual C++ team
> Thanks for your quick response Gary,
>
[quoted text clipped - 50 lines]
> rights.
>> --------------------
Gary Chang - 04 Jun 2004 04:41 GMT
Hi Jim,
Does Ronald's reply answer your question?
If you have more concerns on this topic, please feel free to reply this
message.
Thanks!
Best regards,
Gary Chang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------