debugger

WebDAV & Exchange 2003 - works in debug, fails without

So I have a very weird problem. I am writing some code in VB.Net under .NET 2.0 which interfaces with MS Exchange 2003. Because of the Exchange 2003 "requirement" I am forced to write this code using WEBDAV. The code itself is replicating, to some degree, a schedule management process. It's creating Appointments on the Exchange Server...

is the MSVC++2010 debugger limited?

hello, i'm trying to check what's in my set in the debugger, i have 170 objects in it but i can only see 99 of them, is the debugger limited? he can show only 99 objects? can i see all the objects? thanks. ...

Xcode Debugging Limitations

One of the annoyances I've faced when debugging on macs native IDE, xcode, is that the debbugers ability to read through recursive pointers - ie, a pointer pointing at a pointer pointing at a pointer pointing at data I want to read - is limited to around 4 'recurses', after which it will show the pointers structure but will show every pr...

Errors when using Lazarus IDE on OS X

I'm trying to use Lazarus for OS X to complete a PASCAL programming assignment, and for some reason, I keep getting the following debugger error. Debugger Error Ooops, the debugger entered the error state. Save your work now! Hit Stop, and hope the best, we're pulling the plug. Even though it tells me "Project successfu...

Javascript how do I find what function call resulted in a specific UI event??

I want to find out what triggered an event. Namely, the notification bar on this site stackoverflow.com (the bar that tells you when someone has posted an answer to a question you're writing an answer on. It scrolls down slowly from the top and provides a really nice UI for user notifications. I've seen it work on just about ever page. ...

Break on thread creation in Visual Studio debugger

Can I set the Visual Studio debugger to break on thread creation? (Note this is not the same as breaking on context switch as asked for in this other question: http://stackoverflow.com/questions/3048064/can-i-set-a-breakpoint-in-visual-studio-c-to-break-on-a-thread-context-switch) ...

Key bindings or workflow suggestions for managing breakpoints with pydbgr in Emacs 23.2

I have pydbgr working well now in Emacs 23.2 with virtualenv. But I am confused why breakpoints are not established from the source code buffer after running M-x pydbgr - as they would be e.g. when using pdb. I tried invoking C-cC-b but this does not toggle breakpoints on the selected line as one would hope/expect. Neither does C-xSP...

Can you ignore an exception from a 3rd party dll IN A SPECIFIC PLACE with the VS2008 debugger?

I'm using a 3rd party library (Fluent NHibernate) that throws a harmless "file not found" exception on startup when I run with "break on all Common Language Runtime Exceptions" enabled (Debug | Exceptions... menu). I realize I could just uncheck the specific "file not found" exception, but then I wouldn't get a break if this occured som...

Does eclipse have a debugger "step into selected" option that prompts for the method to step into?

I have used IntelliJ Idea on a few projects and I really like the feature it has in the debugger where I can step into a line of code, but choose which of the methods I REALLY want to step into, instead of going through them all until I hit the one I want. For example, the debugger stops at this line: String restult = getMyResult(getPa...

Missing PDB file and referenced output

My .Net Application, A, has a reference to library B. Library B has a reference to Library C. When I rebuild A (in debug mode), its output directory contains me the B.DLL and B.PDB files, but only the C.DLL file. C.PDB is missing, or rather it is not being copied from its project's debug folder. In fact, looking at B's output directory,...

Xcode debugger -- inspect a deeply nested object

I have a recursive-descent tree object. I want to be able to set a breakpoint and inspect it in the Xcode debugger. Inspecting the top level works just fine. But after I go down a level or so, the debugger says the values of the ivars are out of scope. Is there any way I can keep this from happening? EDIT: In response to a comment ...

Fastest way to break in WinDbg for specific exception? .net 4.0 app.

Folks, Debugging a .net 4.0 app using WinDbg (I'm a beginner to WinDbg). I'm trying to break when I hit a stack overflow: (NTSTATUS) 0xc00000fd – A new guard page for the stack cannot be created Unfortunately, this overflow happens about 2-hours into a long-running process and logs tells me that it doesn't always happen at the same ti...

Any free debug softwares that would allow me to peek into the workings of a compiled pyexe file?

I am trying to learn more about the mechanics of executable files, but I have no background in assembler code. Is there any program I can use for this purpose? I would like to be able to pause a program in real time and read its memory dump at that instant. Is there anything like that for windows 7 32? What about for windows 7 64? Thank...

warning: GDB: Failed to set controlling terminal: Invalid argument

I'm using Qt Creator on Ubuntu to develop C. Whenever I run with the debugger, I get the message warning: GDB: Failed to set controlling terminal: Invalid argument. This happens even with a hello world program. How can I solve this? ...

Looking for a php debugger that works with ZendOptimizer.so under Mac

Hello, I'm working with an internal crypted php application that requires ZendOptimizer.so to be enabled. Is there any PHP Debugger under Mac that can run in parallel with ZendOptimizer.so. Thanks in advance, ...

mdbg can't debug my hello world program

In order to try out mdbg, I have the following simple hello world program: // kkk.cs using System; class HelloMain { static public void Main() { Console.WriteLine("Hello"); } } Compile it with csc /debug kkk.cs, this yields: kkk.exe kkk.pdb I then do (from the visual studio command line): mdbg kkk.exe or ...

Catching First Chance Exceptions in Managed Code without being debugged

Is there a way to catch First-Chance exceptions, and log them without running under a debugger? I suppose another way to ask the question is can I write something that will act like a debugger being attached to my process and see what is going wrong while it happens? ...

Simple C# code freezes itself and all 32-bit applications (incl. VS2008) but only if run under a debugger with a breakpoint set.

Background: As part of a small winforms app I'm developing I have a login screen. Besides the standard username/password fields it also has a third field - "Location" which is a dropdown containing possible geographical locations where a user can log on. The list of possible locations depends on the "distributor" to which the user belong...

Duplicate Visual Studio's memory violation detection on Linux

I developed a command-line (non GUI) C program on Linux using QT Creator, which internally uses gdb as its debugger. When I debugged the program on Windows using Visual Studio, it reported that it was writing outside the bounds of allocated memory (although it did not report the violation at the exact time it occurred, so it was still h...

XCODE debugger, I don't get this

Hello there - I am trying to understand how to accomplish some basic debugging stuff with gdb I want to check the length of this control (UILabel) if I type the following in the console I get nothing, what's the proper way to do it? (gdb) po self.mylabel.frame.size.width There is no member named frame. or if I try without self: (gdb...