Debugger shows wrong values for local variables

I’m now doing some tests on Elements/C# in Visual Studio 2012, and I’ve found some very annoying bugs when debugging.

  1. Debugger shows wrong values for local variables

Here is my very simple test android app:
org.me.androidapplication1.zip (127.7 KB)

When you stop in debugging and check all local variables, you will see strange result. In my example, the ‘a’ variable can’t be displayed and ‘this’ is given the a’s value.

  1. Sometimes I press F9 to set breakpoint, but the breakpoint always jump to the next line of current line. Only restarting Visual Studio can fix this.

  2. Sometimes the breakpoint is totally not working. I press F9, but nothing happens. Only restarting Visual Studio can fix this.

( I’ve also tested Silver, and there are the same bugs)

  1. Have you ever considered to support Intellij IDEA? I think it’s better than VS in many ways, and it’s free and cross-platform.

Thanks, logged as bugs://72308

We don’t currently have plans of supporting another IDE no, especailly considering Java does not play well with mono in the same process.

bugs://72308 got closed with status fixed.