Software Is Hardwork

ISimplicityAffinative: The endless pursuit of anti-complexity.
The technology-centric blog of D. P. Bullington.

Email D. P. Bullington View D. P. Bullington\ Follow D. P. Bullington on Twitter Get Software Is Hardwork code on CodePlex

Blog Post(s)

BUG: VS.NET Debugger and Files with Tick (`) Marks
Monday, October 6, 2008

Ever since the .NET Framework introduced generic types (specifically by way of reification) I have named any file containing a generic type in the following form: MyGenericTypeName`n.ext where n = the number of generic type parameters.

This way, I could have multiple types with the same name, differing only in the number of generic type parameters (zero to n) without stuffing them all in the same code file. This has work flawlessly until...

Recently, I have noticed strange behavior when debugging some types. It seemed to happen specifically to generic types but I could not pinpoint a cause. I would either be able to step through the debugger and get odd hexadecimal values (memory addresses ?) with the language indicator set to C++ even though I was using C#. Other times, a breakpoint would indicate "The breakpoint will not currently be hit. No executable code is associated with this line. Possible causes include: conditional compilation or compiler optimizations", and I could not step through the code.

As it seems, there are two bugs reporting these behaviors:

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=321714

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=308487

I hope this will eventually be fixed.

0 comments:

Blog Archive

Labels

Blog List

Speaking Enagements

  • 12/8/2009 | Hampton Roads .NET Users Group | Cheaspeake, VA | Topic TBD
  • 07/16/2009 | Charlottesville .NET Users Group | Charlottesville, VA | Debugging on the Windows Platform
  • 05/23/2008 | NoVa CodeCamp 2009.01 | Reston, VA | Going Proxy-less - The WCF Proxy Factory
  • 04/25/2009 | Richmond Code Camp 2009.1 | Richmond, VA | Software Programmer to Software Engineer: Concepts to Span the Divide
  • 02/05/2009 | Richmond .NET Users Group | Richmond, VA | Debugging on the Windows Platform
  • 10/04/2008 | Richmond Code Camp 2008.2 | Richmond, VA | Going Proxy-less - The WCF Proxy Factory

Disclaimer

© D. P. Bullington, all rights reserved. Everything posted on this blog is my personal opinion and does not necessarily represent the views of my employer or its clients.