I've got a strange problem with some C# library and console projects (but not ones I create from scratch) where they are displaying the watches and the smart tags for debugging using C++/CLI notation (for example, showing System::Object^
where I would expect System.Object
):
I've tried changing the project guids, as I thought this was the problem (and some had changed), deleting obj/debug folders, restarting Visual Studio 2010, repairing Visual Studio 2010 and even the old favourite restarting Windows.
Is there any obvious setting I'm missing that has somehow been enabled?
Debugging is a methodical process of finding and reducing the number of bugs (or defects) in a computer program, thus making it behave as originally expected. There are two main types of errors that need debugging: ▶ Compile-time: These occur due to misuse of language constructs, such as syntax errors.
The purpose of debugging is to locate and fix the mistake. The testing process does not help the developer figure out what the coding mistake is -- it simply reveals what effects the coding error has on the program.
Debugging makes you a better learner, the practice of detecting the errors made in your written code and correcting them offers an opportunity to learn new tricks and skills to help you debug faster in the future.
I ran into this issue as well, the debugger picked up c# and c++ in all c# projects. I'm running windows 7 64 bit.
I resolved this issue by going to the compatibility tab of the properties of the shortcut. It was checked as running as windows xp service pack 3. I unchecked that and still kept run as administrator checked. Suddenly my debugger picked all of it up as c# again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With