debugging

No matching binary found error

I am trying to debug a crash minidump. have the release debug symbols and release binaries same as crash. While debugging that crash and pointing to symbols still I am getting "No matching binary found" error . I am using the right symbols, binaries and pointing to right location. So why this can happen? I can see a slight difference...

C++: How to count all instantiated objects at runtime?

I have a large framework consisting of many C++ classes. Is there a way using any tools at runtime, to trace all the C++ objects that are being constructed and currently exist? For example, at a certain time t1, perhaps the application has objects A1, A2 and B3, but at time t2, it has A1, A4, C2 and so on? This is a cross platform fra...

Is there any way to set or code breakpoints conditionally?

I've been wondering this for a while - is there a way to code/program breakpoints...? Conditionally? For example, can I specify something like - "when this variable becomes this value, break and open the debugger"? (Would be quite useful, especially in long loops when you want to debug loop execution of a late loop value.) I suppose thi...

What is the "Cannot set allocations" error, who emits it and what can I do about it?

We've been plagued for several years by occasional reports from customers about a non-descript error message "Cannot set allocations" that appears on startup of our app. We have never been able to reproduce the problem in our own test environments so far. I have now run out of ideas for attempting to track this down. Here's a collection ...

How do I programmatically enumerate types in a running .NET process using MDbg?

I want to print out a list of all the different Types loaded in a running .NET process. My plan is to eventually build a GUI app based on this, so I want to do this from my code as opposed to a third party tool. I think my best bet is to use MDbgCore to attach to the running process, and then use MDbgProcess.AppDomains to get CorAppDomai...

help with eclipse debugging /or/ subclassed SimpleAdapter not calling setViewImage()

Hi I was following the method for asynchronously loading images into a listview as outlined in evan charlton's blog here. The problem I am having is that the setViewImage function is not being called by the system: @Override public void setViewImage(final ImageView image, final String value) { if (value != null && value.length() > ...

How to get Firebug to tell me what error jquery's .load() is returning?

I'm trying to find out what data/error jquery's .load() method is returning in the following code (the #content element is blank so I assume there is some kind of error). Where do I find in Firebug what content or error .load() is returning? How can I use console.log to find out at least what content is being returned? <!DOCTYPE ht...

why does firebug debugging sometimes work and sometimes not?

I want to debug a javascript file that is embedded in the HEAD element. I navigate to the site, see the code, and make a breakpoint: But when I click on Reload, the script disappears and it doesn't stop at the breakpoint: Debugging was working earlier so I know it works in general. What do I have to do so that Firebug always debug...

Can I use pdb files to step through a 3rd party assembly?

Hi folks, my friend has made a really helpful class library which I use all the time. I usually use Reflector to see what his code does. What I really wanted to do was to step through his code while I'm debugging. So he gave me his .pdb file. Foo.dll (release configuration, compile) Foo.pdb Now, I'm not sure how I can get it to aut...

How to get debugging of an App Engine application working?

I've got 10+ years in C/C++, and it appears Visual Studio has spoilt me during that time. In Visual Studio, debbuging issimple: I just add a breakpoint to a line of code, and as soon as that code is executed, my breakpoint triggers, at which point I can view a callstack, local/member variables, etc. I'm trying to achieve this functiona...

What is timestamp in VS modules debug window?

What is timestamp in VS modules debug window? Is it Created timestamp? Modified ? Or signed timestamp I changed the timestamps of a dll and still its showing something else not able to figure it out what exactly is it? ...

Debug --> How to simulate no flash player installed?

Is there a way to simulate not having flash player installed, so I can see what users who visit a page without the plugin see my page? Thanks! ...

[MSVC++] Breakpoints on a variable changing value?

I'm chasing a bug where a member value of an object seems to magically change, without any methods being called which modify it. No doubt something obvious but proving hard to track down. I know I can put conditional break-points in methods based on the variable value, but is it in any way possible to actually put a breakpoint on a varia...

KVO says that a KVO observer is registered even though it is not (or is it?).

When my application is closed, the main controller class removes itself as Observer from the model and then releases the model. Like this: - (void)dealloc { [theModel removeObserver:self forKeyPath:@"myValue"]; [theModel release]; [super dealloc]; } And right after that, the debugger says: 2010-04-29 ...

Why can't I attach the debugger?

I'm using Visual Studio 2008 SP1 and trying to debug a website created in ASP Classic. I have read numerous tutorials, however nothing seems to be working (PEBKAC?). I have enabled server-side debugging in IIS and am attaching the debugger to dllhost.exe. When I open my page in Google Chrome, set breakpoints and set VS to debug, nothing ...

ASP.NET MVC Debugging: The program 'WebDev.WebServer.EXE: Managed' has exited with code 0

I have an ASP.NET MVC application debugging from Visual Studio 2008, sp1. When I F5 in VS to start debugging the site, it runs fine for a few moments. Sometimes 10 seconds. Sometimes 10 minutes. But eventually the debugger exits, with this message: The program 'WebDev.WebServer.EXE: Managed' has exited with code 0 The web app is ...

How do I track down the source of a KVC exception: this class is not key value coding-compliant for the key toolbar?

I get this error when I try to run my app: 2010-04-29 13:49:01.355 MyApp[56123:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<MyViewController 0x5112b10> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key toolbar.' MyViewController used to have an IBOutlet call...

Duplicate elements in a hashset

I have a problem with hashsets at the moment. I have classes which are immutable and contain just one item, when I add two different classes with the same data to a hashset, I get them both in the set. This is weird, because I've overloaded Equals and GetHashCode on both the base class and the superclass. public abstract class Contact :...

ASP.NET Debugging Timing out with IIS

Finally broke down and seeking help, my client/iis (not sure which) usually times out after about 30s - 1 minute while im debugging (stepping through code) which not only causes me to lose my spot and have to start over (usually stepping faster, making more mistakes) but the IIS Debug session closes completely and I have to warm up the e...

having a test debug app and a released debug app side by side

When I download my app from the iStore, the latest test version installed to my phone gets over written. Does anyone know how to have two versions of the same app side by side? On a test project, I edited the build settings so that "realease" and "debug" have different product names. This seemed to solve my problem, however when I try t...