Decided to give VS2010E a try and I'm baffled by some debugging output that is sent to the auto window during debugging. I'm hoping someone here uses VS2010E as well and can tell me what this is and / or how to get rid of it.
After setting a break point, I will hit F10 to step through the code and everytime the marker reaches a cout statement, this pops up in the auto window:
1 2
std::operator<<<std::char_traits<char> > returned
std::basic_ostream<char,std::char_traits<char> >::operator<< returned
I'm assuming it's doing nothing more than letting me know the string has returned successfully but it's annoying seeing that in the window.
MS says something about DebuggerNonUserCodeAttribute, DebuggerHiddenAttribute, and DebuggerStepThroughAttribute ... one of which is probably what you are looking for... maybe
I tried that but it did nothing for me. I even tried disabling "step over properties and operators" to see if that made a difference with various combinations of enabling and disabling options but to no avail.
I searched via google but I can't seem to pin this down.
Hopefully I will because it's annoying clutter to look at IMO.
Unfortunately, I can't install that on this box... actually, on any box I've got. Nothing against it, there are other issues... Either way, let me see...
That seems to have a walk through of the debugger process with pictures...
Maybe check out the part that says "The dropdown panel near the top of the window lets you select different viewing options".. I know they are using assembly, but maybe there is something useful.
Don't think I can help much though, since you can find the same things I'm finding and test things out.
Just wanted to update in case anyone else new to VS is watching this or runs into the same issue.
Apparently this is a normal output (as per a VS guru) for the debugging Auto window because it's showing what cout actually does and can't really be changed, however, if you don't want to see this output, just use the Local and / or Watch window and you'll only see the output you want to see (variables, arrays, functions etc.).
If the Local or Watch window aren't open and / or docked - you'll see the window or tab if either are true, in my case neither were true, you'll have to open them and dock them yourself by doing the following.
Go into Debugging mode (F5) >> Go to Debug at the top >> Go to Windows >> Select desired window to open (such as Watch, Locals, Memory etc.).
Once it opens up, dock it wherever you want to keep it open by dragging the window to the desired location and dropping it onto the "Position Icon" that pops up.