On rare occasions when my program exits, I get a "value of ESP has not been saved across a function call" error. The error is quite random and hard to reproduce.
How do I debug this error (VC++ 2008)? How harsh it is, as it only occurs on shutdown? Is the error visible also in release mode?
...
All of our applications have Debug="False" in the web.config and Release DLL's.
We have a number of Applications that use ScriptManagers now for .net Ajax implementations. The ScriptManager has a ScriptMode that is set for Release and Debug modes. The default for this is Auto and when it is set to Auto it's value is set based on the Dep...
After upgrading to IE8, I have trouble debugging my web application (using development server). When I hit a breakpoint and start stepping over the code, all of a sudden my debug session ends prematurely.
Any clues whats going on, and suggestions to fix this?
P.S. I have installed Silverlight Tools and chose Silverlight debugging to di...
After spending a little time wondering why my app was running a particular scenario very slowly with the debugger attached, I discovered that this was due to having a conditional breakpoint (whose condition was never being met). This seems reasonable, as the CPU would signal the breakpoint and VS would need to evaluate the condition bef...
I use DBG because I heard you can debug from browser but it doesn't seem to be well supported by IDE's and is pain in the ass to setup.
Do you guys use xdebug or dbg? Any other suggestions are very very welcome!
...
Hi,
A while ago I read the Debugging Windows Programs book, and one of the tricks that it talked about extensively was calling functions from the Visual C++ debugger (quick)watch window.
As luck would have it, I don't have a copy on hand and the little documentation that I could find about this is really really poor.
So how DO you call ...
I'm working on getting set with Eclipse CDT for some embedded development and I'm having difficulty getting source level debugging working for static libraries.
I'm using my own Makefiles, so that is my first suspect right now, especially since gdb claims that no symbol table info is available for the functions with no source. When usi...
Interview question-
Often its pretty easier to debug a program once you have trouble with your code.You can put watches,breakpoints and etc.Life is much easier because of debugger.
But how to debug a program without a debugger?
One possible approach which I know is simply putting print statements in your code wherever you want ...
I'm trying to analyze a mini crash dump and need symbol files in order to get more details about the crash. Im currently just seeing:
"034eff74 0086eee9 00000000 0089d58d 034eff94 app_integrator!ZNK14ACE_Data_Block4baseEv+0x6"
Is it possible to extract debugging information from a msys/mingw gcc built dll into a windbg readable format ...
Hi,
I have a solution comprising of about 6 projects, and when I debug on one machine, any un-handled exceptions that occur cause the environment to break at the point that exception is thrown, allowing me to debug it.
However, on a different machine with the same solution (in the same version of VS), all I get when an exception is ...
The question in short: How can I debug the code generated during a debugging session on the generating program? (see code below)
I am facing the following issue: I would like to debug into dynamically generated/compiled code from the application that generates it. I provided an oversimplified example to clarify it. This example doesn't ...
One of our .NET 2.0 application started to just randomly disappear. There are no records in the Event log, Dr. Watson doesn't generate crash dump, no nothing...
How to troubleshoot this application?
...
It's strange, if I build my program in debug mode, I have no errors, but if I build my program in released mode, I get an error saying that Msvcr90d.dll is not found.
Msvcr90d.dll is a debug library, I'm not sure why it's coming up when I load it for release =/
...
I have seen that sometimes breakpoints cannot be enabled in Visual Studio, they appear as empty circles, with a warning sign when enabled. This icon change is all the information VS gives.
Particularly I'm suffering that in a Windows CE 6.0 project where I cannot enable any breakpoint in any of the sub-projects or in the OS design. The ...
I find myself with a fairly complex JavaScript program and a bug that would be easier to solve given an ordered list of all the functions called.
I could generate a list manually by setting a break point, and stepping through the code line by line. I'm hoping there is something faster out there.
The Firebug profiler isn't much help as ...
I'm trying to reverse-engineer a program that does some basic parsing: text in, text out. I've got an executable "reference implementation" and the source code to what must be a different version, since the compiled source output != executable output.
The process creates and deletes temporary files very quickly in a multi-step parsing ...
Hi,
I'm having crash in my application, which says
trying to pop an unknown autorelease pool:
10/19/09 11:40:11 AM MyApp[89480] *** attempt to pop an unknown
autorelease pool (0x11bc800)
How to trace it down?
Since it's RubyCocoa application it's almost impossible to trace it with gdb in Xcode environment. So mostly it's about loggin...
Many Qt classes uses pimpl, so they're very opaque to VS's debugger.
This is bothersome when I want to check some internal Qt state to see if my code is doing it wrong or if I'm having wrong expectations of how things stand.
I'm using the Qt VS add-in (1.1.0), but that doesn't seem to help.
Any ideas?
Update
My autoexp.dat file is ...
I am using Netbeans and programming with PHP. I have seen debugging tools like watches and call stacks. What exactly are watches and call stacks? How do I use them in Netbeans?
...
Hey all,
What do you all use?
I'm getting sick of vardumping everything, I just wrote this massive function that isn't quite working correctly. I would love to be able to step-through the php code. I heard macgdbp was pretty good, but it seems like its iffy unless you use MAMP.
This is for mac users who develop with Textmate and took...