Edit and continue with 64-bit applications supported on Visual Studio 2013

Visual Studio 2013 and .NET Framework 4.5.1 Preview introduce new feature that has been asked by community for long time – edit and go when debugging 64bit applications. Support for 64bit applications is finally here. Let’s see how it works.

What is edit and continue?

For those who don’t know Visual Studio lingo very well here is the illustration of problematic result when trying to modify running code on debugger:

Edit and go was previously supported only on 32bit platforms.

Edit and go with Visual Studio 2013

Let’s run simple code shown here:

static void Main(string[] args)
    Console.WriteLine("Red cat");

    Console.WriteLine("Press any key to continue ...");

and let’s put breakpoint here:

Now let’s run the code and when breakpoint is hit then let’s modify the text that will be written to console:

Now let’s click Continue and see what happens. Well… no errors and here is the result on my screen:

I’m happy about this update because all my development virtual machines use 64bit Windows and now I can debug applications better,

Liked this post? Empower your friends by sharing it!
Categories: Visual Studio

View Comments (0)

Related Post