Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / March 2008

Tip: Looking for answers? Try searching our database.

How to see the values of native variables (C++) when mixed-mode debugging? (VS.Net 2005)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wayne Hartell - 01 Mar 2008 05:41 GMT
In VS.Net 2003 I can debug mixed-mode code (by attaching to a process) and
get the values of variables from the debugger for both managed and native
variables. In VS.Net 2005 using the same debugging technique only gives me
information on managed variables. Mixed-mode debugging in VS.Net 2005
appears to be much faster than VS.net 2003, but it's no use to me if I can't
debug native variables too. :-( That seems to make mixed-mode debugging
pretty well redundant.

I'm relatively new to VS.Net 2005, so I'm hoping I'm doing something wrong.
(I can't be the only one that has ever needed to debug mixed mode!)

I've tried the usual suspects (like disabling edit and continue etc), but I
simply cannot get the debugger to give me any information on the native
variable values.

Does anyone have any ideas?

Regards,
Wayne.
Wayne Hartell - 02 Mar 2008 03:39 GMT
> In VS.Net 2003 I can debug mixed-mode code (by attaching to a process) and
> get the values of variables from the debugger for both managed and native
[quoted text clipped - 15 lines]
> Regards,
> Wayne.

I can add to this that...

1. I can see the values of native variables when I'm in purely native code
(still mixed-mode debugging),
2. The C++ project (mixed-mode) that I am trying to debug has been converted
to VS.Net 2005, but still uses the old CLR syntax.

I've been able to do this using VS.Net 2003 for years upon years, but under
VS.Net 2005 it just doesn't seem to work.

Any ideas or suggestions greatly appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.