breakpoints

Breakpoints in core .NET runtime?

I have a third party library that internally constructs and uses the SqlConnection class. I can inherit from the class, but it has a ton of overloads, and so far I have been unable to find the right one. What I'd like is to tack on a parameter to the connection string being used. Is there a way for me to put a breakpoint in the .NET lib...

Why aren't my breakpoints working in Xcode?

I have breakpoints set but Xcode appears to ignore them. ...

How do I add Debug Breakpoints to lines displayed in a "Find Results" window in Visual Studio

In Visual Studio 2005/2008 it is possible to find all lines containing certain references and display them in a "Find Results" window. Now that these result lines are displayed, is there any keyboard shortcut that would allow adding debug breakpoints to all of them? ...

Visual Studio: How to trigger an alarm when a breakpoint is hit?

Is there a way to trigger a beep/alarm/sound when my breakpoint is hit? I'm using Visual Studio 2005/2008. ...

How do you break into the debugger from Python source code?

What do you insert into Python source code to have it break into pdb (when execution gets to that spot)? ...

How to simulate a Delphi breakpoint in code?

I am pretty sure I have seen this before, but I haven't found out / remembered how to do it. I want to have a line of code that when executed from the Delphi debugger I want the debugger to pop-up like there was a break point on that line. Something like: FooBar := Foo(Bar); SimulateBreakPoint; // Cause break point to occur in Delph...

Breakpoint not hooked up when debugging in VS.Net 2005

Been running into this problem lately... When debugging an app in VS.Net 2005, breakpoints are not connected. Error indicates that the compiled code is not the same as the running version and therefore there's a mismatch that causes the breakpoint to be disconnected. Cleaned solution of all bin file and re-compile doesn't help. Not j...

How can I make the Visual Studio debugger stop breaking at data breakpoints which are set to run a macro and continue?

I'm running into an odd problem with Visual Studio 2005: I have a data breakpoint that's set to run a macro and continue (that is, I select a macro and check Continue Execution.) Now, instead of silently running the macro when the value in the data breakpoint (tracepoint, really) changes, I first get a message box informing me that the ...

eclipse beakpoint: stop before leaving a Java method

Is there a way to tell the debugger to stop just before returning, on whichever statement exits from the method, be it return, exception, or fall out the bottom? I am inspired by the fact that the Java editor shows me all the places that my method can exit - it highlights them when you click on the return type of the method declaration, ...

Where are Visual Studio breakpoints saved?

Hi, I seem to be getting breakpoints from other programmers when checking out code... Where is the list of breakpoints saved by Visual Studio? In the vbproj file? vbproj.user file? documents and settings? are they meant to be specific to the solution, the project, the user, the computer they are set on? Thanks! ...

Why does Eclipse CDT ignores the breakpoints?

Hello! My problem is that I set some breakpoints in my code and some of them aren't working. In some places it complains about "Unresolved Breakpoint". Does anyone have any clue why this is happening?? I am using gdb, by the way. EDIT: Yes, of course is compiled with debug information. It only happens at some classes or points in the...

Anyone experience VS2008 (inc SP1) ignoring or losing Breakpoints randomly?

Hi there, Since upgrading to 2008 I and many people here have noticed that randomly VS will no longer step in to code or jump over breakpoints. Its got to the stage where debugging is becoming a real chore. We are running SP1 but noticed problem on 2008 basic too. In ref to Robert's question: We host WCF and Remoting services inside wi...

Why does Visual C++ not hit a breakpoint in, or step through a specific function?

I have the following: classA::FuncA() { ... code FuncB(); ... code } classA::FuncB(const char *pText) { SelectObject(m_hDC, GetStockObject ( SYSTEM_FONT)); wglUseFontBitmaps(m_hDC, 0, 255, 1000); glListBase(1000); glCallLists(static_cast<GLsizei>(strlen(pText)), GL_UNSIGNED_BYTE, pText); } I can hit breakpoi...

Using GDB without debugging symbols on x86?

How do I use GDB to debug a program which do not have debugging symbols on a 32-bit x86 processor? Inspecting the function arguments, local variables, resolving pointers would be useful to know how to do. The intention is not really to use this for reverse engineering, as I'm sometimes just too lazy to install the debugging symbols and w...

Can breakpoints be used in in ISRs?

Can breakpoints be used in interrupt service routines (ISRs)? ...

PHP debugging - where to set the breakpoints? how to authenticate?

So I've just recently made the step from ad hoc debugging with dump, print_r and echo to some more sophisticated methods and I'm having a struggle. I work with Zend Framework, Aptana and Zend Debugger. At this moment I'm trying to debug a custom controller and whatever I try I don't get to my breakpoint which I understand since there ...

C#/CLR Remote debugger: how to wait until attached

Today I ran into a problem were I needed to remote-debug a program. The program was launched from another system, so I really don't have an opportunity to interact with it on the command line. I could change its source easily though. What I needed to happen was for the program to start normally, and then wait for me to attach to it wi...

Can .NET source code hard-code a debugging breakpoint?

I'm looking for a way in .NET (2.0, C# in particular) for source code to trigger a debugging break as if a breakpoint was set at that point, without having to remember to set a specific breakpoint there in the debugger, and without interfering with production runtime. Our code needs to swallow exceptions in production so we don't disrup...

How to set a breakpoint in Eclipse in a third party library?

I'm getting a NullPointerException in a Class from a 3rd party library. Now I'd like to debug the whole thing and I would need to know from which object the class is held. But it seems to me that I cannot set a breakpoint in a Class from a 3rd party. Does anyone know a way out of my trouble? Of course I'm using Eclipse as my IDE. Upda...

Using breakpoints to debug Javascript in IE and VS2008

I am not able to use the breakpoint in Studio with Javascript. I'm able to debug if I use the debugger; I've seen this Breakpoint not hooked up when debugging in VS.Net 2005 question already. I tried the answer and it didn't work. Looking in the Modules window, V.Mvc.Jobtrakt.PDB is loaded properly, but it points to a temp folder ...