Questions related to debugging methods and tricks in VisualStudio
0
votes
0answers
6 views
Visual Studio's Memory window: Inspecting a reference instead of the referenced value?
When I inspect a string variable text using Visual Studio's Memory window, I get to see its value:
Out of curiosity, is there a way to inspect (also in the Memory window) the location where that ...
1
vote
1answer
14 views
debug assertion failed! expression list iterators incompatible
I'm working on an assignment where I implement a Dictionary (ADT) in C++. I initially wrote the program in Xcode and everything seemed to work fine. However I recently found out that the grader uses ...
0
votes
0answers
5 views
How to debug RemoteThreadProc thread
IN visual studio, I write a thread and inject it to another targeted process. After setting breakpoint, I found the the remote thread does not stop in given breakpoint(the invocation of Initialize() ...
1
vote
0answers
30 views
Asp.NET application is supressing errors on localhost.. Why?
I am working on a web application, developing in VS 2012, and have lately been deploying fairly often to a test server. I keep a separate web.config for deployment, as I got tired of copying and ...
-1
votes
0answers
20 views
can't see enums value when debugging VS2012
for some reason i can't seem to see the values of enums. it always shows as "undefined value".
I'm using:
Microsoft Visual Studio Professional 2012
Version 11.0.50727.1 RTMREL
Microsoft .NET ...
7
votes
1answer
96 views
Detect if Debugger is Attached *and* stepping through
I am aware of the Debugger class within the System.Diagnostics namespace which has the IsAttached property.
Is there a property, somewhere, that can augment this call and tell me if we're actually ...
0
votes
0answers
17 views
View the content of std::vector from a static library while debugging in VS
I have a C++ project in Visual Studio 2010 and I have my static library "MyLib.lib" which contains the structure definition:
struct TWaggon
{
int someData;
}
And I have a header file "Trains.h" ...
1
vote
0answers
11 views
EmguCV vs2012 visualizer
I'm using EmguCV in VS2012.
Following this tutorial, I copied the dlls into VS debugger directory. However when I click the "view" icon on the variable, there's an error like this:
Unable to load ...
0
votes
0answers
24 views
jQuery .Filter() only works in debug mode (Chrome and Firefox)
I have a function that works just fine in IE, and while in debug mode, works fine in Chrome and Firefox. It's when the code is not in debug mode where the function does not work in Chrome and ...
0
votes
0answers
34 views
WCF Service Host error while attaching to process in Visual Studio
While attaching to some process in Visual Studio 2012, I'm getting such an error:
Complete exception is shown below:
System.BadImageFormatException: Could not load file or assembly 'C:\Program ...
-1
votes
0answers
9 views
Can not reset debug web page to index [closed]
A week ago I set my visual studio asp web net 2010 framework 4.0 c# application
to open on the page I was working on and now I get an error.
Can't find page.
I assume that is because the user hasn't ...
0
votes
2answers
20 views
Debug FeatureActivated() in SharePoint WebForms
Is this possible?
I am doing:
Deploy -> Set Breakpoint in the public override void FeatureActivated -> Attach the process to the debugger -> refresh.
Obviously this won't work because ...
0
votes
1answer
39 views
Visual Studio 2012 Debugging Old Code
I have a solution with ~7 C# library projects, and a single console application. Lately when I make a change to a source file in any of the projects and press F5 to run, it appears to build and run as ...
0
votes
2answers
38 views
VC++ debugging mode: batch edit std::vector<int> value?
Now, in Debugging mode, I have a std::vector vec which contains 100 elements, I'm curious to know whether it's possible to edit these 100 elements at the same time, for instance, make all of them to ...
0
votes
3answers
33 views
VC++ debugging: is it possible to skip cursor?
As we all know, in debugging mode, Visual C++ support "Run to Cursor" feature, so, I'm curious to know whether it support simillar feature "Skip cursor". In other words, my app just skip the line of ...