CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Jun 2007
    Location
    California
    Posts
    136

    [SOLVED] debug c# with VS2008

    Hi all,

    I am using .NET 3.5 with VS2008.

    I have a variable mySize decared as follows
    Code:
    Size mySize = new Size(30, 30);
    mySize was modified somewhere in the program, and I am trying to figure out where it was modified.
    In C++, I could trying to put the memory address of the mySize into Visual Studio, and it will just break whenever the memory address is being modified. However, I am unable to find the memory address of mySize in C#.

    Could someone tell me how to get the memory address of a variable in VS2008 C#?

    Thank you,
    kab
    Last edited by kabilius; November 3rd, 2009 at 02:56 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured