7

Sorry for what seems like it's likely covered in a FAQ/blog somewhere, but my Google-fu is apparently weak. :(

There's a handful of things that the debugging experience in VS 2010 lacks that seems like they're likely to be fixed during VS 11 (at least, IMHO), but it's been hard for me to tell whether they're really on 'the list' or not.

Some that come to mind:

  • edit-and-continue with 64-bit console apps (only works with 32-bit console apps in 2010)
  • edit-and-continue with Silverlight 5
  • watch (and immediate?) expressions with lambdas / anon delegates
  • edit-and-continue being ok with edits to methods that contain lambdas
James Manning
  • 13,429
  • 2
  • 40
  • 64
  • You can confirm the current state of affairs when it comes to Visual Studio 2011 by installing the developer preview. The only question I will address is the Silverlight 5 question, as you might or might not know, the future of Silverligt is unknown. Microsoft has not provided us with a roadmap to its future. – Security Hound Jan 05 '12 at 16:16
  • If you want to improve the chances of these fixes happening, go to http://visualstudio.uservoice.com/forums/121579-visual-studio and vote on them. – Igby Largeman Jan 13 '12 at 17:58

3 Answers3

5

As of the Developer Preview version, VS11...

  • edit-and-continue with 64-bit console apps STILL ARE NOT SUPPORTED
  • watch (and immediate?) expressions with lambdas / anon delegates STILL ARE NOT SUPPORTED
  • edit-and-continue being ok with edits to methods that contain lambdas STILL ARE NOT SUPPORTED
  • edit-and-continue with Silverlight 5 (I DON'T KNOW)

Don't let any of this stuff put you off, however. There are plenty of new features in VS11, and there's still a year before it's released anyway. Who knows? They might decide to add support for one of these.

Also, by the way, it is very unlikely that they will support Edit and Continue with lambdas / LINQ / anon delegates in the future. Why? Well, it has to do with the way that these language constructs are converted to IL. They may seem simple in a CS language file, but even the most basic lambda expression (something like i => i + 1) is actually converted into a hidden class at compile-time. This goes beyond the scope of Edit and Continue. If you're interested, create a very simple program that uses lambdas or delegates, compile it, and open it up in .NET Reflector. (http://www.reflector.net/. You can get a 30 day trial if you don't want to buy it.) Select the language as "IL" and try to make sense of it!

leviathanbadger
  • 1,682
  • 15
  • 23
  • 3
    E&C *is* supported in VS 2012 RC for methods that contain lambda expressions or anonymous methods. You can't modify the lambda expressions themselves, but you can modify the rest of the method body. – Thomas Levesque Jun 02 '12 at 17:53
  • It's such a pity that E&C is not available for 64bit apps. It's one of the best features in Visual Studio. If I could choose VS12 would be only about E&C for 64bit. – Andreas Aug 16 '12 at 12:29
1

The prior issue was closed (deferred) so please vote for a new issue asking/begging for 64bit EditAndContinue (EnC) in 11.

https://connect.microsoft.com/VisualStudio/feedback/details/736684/edit-and-continue-is-not-supported-when-debugging-a-64-bit-application

DeannaD
  • 1,469
  • 2
  • 16
  • 27
0

Beta is just released [http://www.microsoft.com/visualstudio/11/en-us] and

  • edit-and-continue with 64-bit console apps STILL ARE NOT SUPPORTED

Think it should be supported? I do!, go make your vote count: https://connect.microsoft.com/VisualStudio/feedback/details/559582/need-c-edit-and-continue-on-x64-native-mode

okigan
  • 1,559
  • 2
  • 18
  • 33