breakpoints

How do you debug Silverlight applications with Chrome AND hit breakpoints?

I am using Visual Studio 2010 to create a Silverlight 4 application. I set a breakpoint in my code-behind, start the debug session from Visual Studio, and unfortunately, my breakpoint never gets hit. So, I eventually I tried setting my default browser to Internet Explorer ... and lo and behold ... my breakpoint gets suddenly hit. Is C...

Debug Break on Win32 Api functions

I would like to have a break on the SetTimer function in order to see which components register what timers with what values. Is this possible? ...

Can I put break points on background threads in Python?

I'm using the PyDev for Eclipse plugin, and I'm trying to set a break point in some code that gets run in a background thread. The break point never gets hit even though the code is executing. Here's a small example: import thread def go(count): print 'count is %d.' % count # set break point here print 'calling from main thread:' ...

mipsel-gdb breakpoint from source code

It seems that gdb is failing to find breakpoints if a class is implemented in the header file. Therefore I am trying to force a breakpoint from the source. I guess I need the mips equivalent of asm("int3"). Any ideas? PS: asm("break 3") does not work ...

Partial class debugging

I have created a partial class for my xsd auto generated class. The problem is in debugging this partial class. Breakpoint are not recognized or the compiler doesn't break at the breakpoints set in the partial class. // Autogenerated class by xsd.exe public partial class Class1 { private Class1Brand[] brandField; private str...

Visual Studio 2008 ASP.Net Debugging Zombie Breakpoints Come Back After Being Deleted

In Visual Studio 2008 while debugging an ASP.Net website I set a breakpoint in the codebehind page. I refresh the page or submit to call the method, the breakpoint is hit. Then I delete the breakpoint and continue execution. I make a change to the codebehind page and save it. I submit or refresh again and the deleted breakpoint is back! ...

How to set breakpoint in Delphi JVCL units ?

I'm debugging a Delphi code that use TJvProgramVersionCheck component from the excellent JVCL libs. So I'd like to put a breakpoint somewhere in JvProgramVersionCheck unit but it doesn't work. The breakpoint icon show a cross - not active ! I tried to put a breakpoint when calling the TJvProgramVersionCheck method, do a debug "Step int...

Breakpoints cause PowerPoint 2003 Add-In to crash

I am writing an Add-in for Powerpoint 2003 using Visual Studio 2008. I created it by selecting "New Project" in Visual Studio, then choosing the "PowerPoint 2003 Add-in" project template. I added a simple menu to PowerPoint which opens a simple windows-form. If I put a breakpoint into the Add-in code which creates the menu (code which...

Upgraded xcode 3.2.3 and breakpoints now show in asm view only

I just upgraded to xcode 3.2.3 and snow leopard and my breakpoints now only show in asm. All the files in the callstack leading up to the topmost one show in my C source however. Does anyone know of an issue where after upgrading the breakpoints suddenly do not show in C, or is this some simple option that possibly got set when it read...

Visual Studio: How to stop breakpoint hit from stealing focus?

When a breakpoint is hit in Visual Studio, it steals the focus from whatever other application the programmer is viewing/typing into at that moment. This can be very irritating since VS grabs any keyboard input the programmer was typing into the other application at that moment and takes that input as its own. What are the tricks you fo...

GDB breakpoints confused after a function call?

I have a program that depends on an external shared library, but after a function inside the library gets executed I lose the ability to use breakpoints. I can break and step like normal up until I execute this function, but afterwards it is finished it never breaks. It won't even break on main if I try and use start for the second ti...

Visual Web Developer - Breakpoint Symbol Error

Hey guys, Running VWD 2010 Express and trying to debug my file. Getting the error: The breakpoint will not currently be hit. No symbols are loaded for this document. Can't manage to fix it! Any ideas? Thanks ...

VS2008 debugger breaks at unwanted line

Visual Studio 2008 breaks at the following line with the following message: I don't want it to stop there, it's making debugging a nightmare. Somehow the exception thrown at line 998 is causing this, even though there is a try...catch block somewhere up there that is supposed to catch this exception. Any ideas on how to stop this from ...

XCode debugger hangs on breakpoints

Hi, I'm debugging a project for iOS 4.0 (simulator) in XCode 3.2.3, and all of a sudden the debugger just stopped working on me. It will hit the first breakpoint and freeze. It will not respond to single stepping, continuing, pausing, etc. I know I'm not the first person to complain about the XCode debugger, so does anyone have any sor...

Error from Debugger: Previous frame inner to this frame (gdb could not unwind past this frame)

I am getting the following debugger error when I encounter a breakpoint on the device: Error from Debugger: Previous frame inner to this frame (gdb could not unwind past this frame) This occurs when the app hits a breakpoint. If I hit the continue button in the debugger, it continues happily until the next breakpoint, when it pops up ...

Xdebug successfully connects to DBGP clients, but won't stop at breakpoints

I have Xdebug 2.1 installed, and running with PHP 5.2.13. It can successfully connect to multiple DBGP clients (i.e. the xdebug.remote_log shows communication back and forth, and the clients themselves also show the incoming connection), but it doesn't stop at breakpoints. I have tried NetBeans, MacGDBp and also the command-line debugc...

How to specify build condition for objc_exception_throw?

I would like to conditionally enable the objc_exception_throw global breakpoint for my app, only when I am doing a Debug build (not when doing a Release or Distribution build). Is there a way to specify this build condition in Xcode's Breakpoints window? ...

PyDev Question: Setting breakpoints in doctests

Is it possible to set breakpoints in doctests, using PyDev (i.e. eclipse)? I found that while I am seemingly able to do so, the breakpoints do not work at all. To have some code in the question, and to clarify, say I have def funct(): """ >>> funct() Whatever """ print "Whatever" and that I set a breakpoint at the funct() ...

How do I add breakpoints to a stored SQL Procedure for debugging?

I am trying to debug a SQL procedure, and am using the following query to do so. USE [database] GO DECLARE @return_value int EXEC @return_value = [dbo].[Populate] @ssId = 201 SELECT 'Return Value' = @return_value GO The problem is, the procedure I am testing, (Populate) doesn't seem to stop at any of the breakpoints I ...

kCGErrorFailure while performing drag and drop in NSView

Hi all, I have created a simple drag and drop application in which I am sometimes getting this exception msg, displayed in debugger console: kCGErrorRangeCheck: CGSNewWindowWithOpaqueShape: Cannot create window kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. kCGErrorIlleg...