breakpoints

Cannot Debug Unmanaged Dll from C#

I have a DLL that was written in C++ and called from a C# application. The DLL is unmanaged code. If I copy the DLL and its .pdb files with a post build event to the C# app's debug execution dir I still can't hit any break points I put into the DLL code. The break point has a message attached to it saying that "no symbols have been loade...

XCode breakpoint [NSExceptionRaise] vs -[NSExceptionRaise]

XCode:Run>Show>Breakpoints I've added the obligatory [NSExceptionRaise] and objc_exception_throw yet when I close the Breakpoints window and then return XCode adds a third breakpoint: -[NSExceptionRaise]. Does this mean [NSExceptionRaise] is wrong and I should delete it? Or are they both helpful? If so in what way are they functionally...

What does it mean for a breakpoint to be installed?

The documentation for Eclipse states that a blue circle icon represents an enabled line breakpoint and that a checkmark is an adornment that marks a line breakpoints as installed What's the difference between active, installed and enabled, when referring to breakpoints? Is installed -- in this case -- an Eclipse-specific def...

What is the shortcut to skip all break-points in VS?

Hi, When I am at a break-point and if I want to ignore all the rest of break-points and move on, what shortcut should I use? thanks ...

How to set a breakpoint on a default Java constructor in Eclipse?

In Eclipse, I would like to set a breakpoint on a Java default constructor. I can't simply double click to the left of any line of code since default constructors have no source code - they are implicitly generated by the Java compiler. I'd like to be able to set such a breakpoint without modifying the existing code. ...

Breakpoints in Ruby IDE?

Hey there, I currently use TextMate for Ruby/Javascript/Actionscript development and it is amazing. But one thing I would really love to use are breakpoints so I could stop code execution and examine the state of the variables and walk through the code. Something like what Flex Builder does. Does TextMate have this capability? Or wh...

Is there a "skip all breakpoints" command in VS(2008) ?

As title, is there a quick way to run through the code once without stopping on breakpoints? ...

Execution Path Specific Breakpoint

I would like Visual Studio debugger to break within a function only when the call is from a specific sequence of callers. Is there a way to set such a breakpoint? Or perhaps some alternative hack? I ask this in the context of native (C++) as well as managed (C#) code. ...

Examine data in windbg when a break on address (ba) breakpoint is hit

I'd like to create a breakpoint such that it will create another one-time breakpoint that will 'dd' a certain memory address when that memory is written to. So when the breakpoint is hit, I'd like to run a command like: ba w4 @ESP+4 /1 ''dd [memory address of this breakpoint]'' Since this breakpoint is being created by another brea...

How do I set a breakpoint for operator() in gdb for C++?

I have 2 methods in C++ class as follows: class myClass { public: void operator()( string myString ) { // Some code } void myMethod() { ... } } For a regular method, I can simply set the breakpoint in GDB as: b myClass::myMethod But how do I set the breakpoint for the first method? UP...

In Visual Studio, can I put breakpoints in code for which I only have debugging symbols?

Since I do not have access to the complete source code of a library I'm using, but I do have the pdb files, is it possible to set a breakpoint in the "debugging source code"? If so, how would I do that? ...

Conditional BreakPoint in VS - value is Changed. How to use?

Hello. In Visual Studio (2005/2008) we can set a conditional breackpoint when the condition is True. Now, there is an other option - when is "Changed". What does this mean and how/when should I use it. I saw already related page on MSDN but this "changed" it still not clear for me... Thanks. ...

What does "Couldn't raise load state for requested shlib:..." means?

I get this message on the debugger console, but the application seems work. The full console below. [Session started at 2010-01-05 20:17:29 +0100.] Warning - No location found for "BGTangramLevel.m:1" Warning - No location found for "BGTangramClues.m:1080" Warning - No location found for "BGTanRender.m:143" Warning - No location found f...

Conditional Debug on Visual C++ 2008 Express

Is there a way to debug code on Visual C++ 2008 Express, such as I can watch a variable for certain value(s) and, when it assumes this value, to break? For instance, I want to break when xbecomes 5. In gdb I would set a breakpoint then a condition that x == 5. How can I do it (if possible) on Visual C++ 2008 Express? ...

Can I set a breakpoint in included code?

I have something analogous to the following code snippets: // file alpha.c void function_A() { int i; #include "code.h" } and //file beta.c void function_B() { int i; #include "code.h" } and // file code.h for(i = 1;i < 10;i++) { // do some stuff if (very_rare_event) { // do something else }...

No dynamic page is in script document when I debug my aspx page

I'm trying to debug javacript code in my aspx page, I insert a breakpoint, and press F5 for debugging, but there is no dynamic page created in script documents. Why the asp.net development server not create the dynamic page? any ideas? ...

Setting breakpoint w/Eclipse PDT

I am SOOOOO discouraged. This seems so simple, but being a complete novice in Drupal and Eclipse PDT I have absolutely no idea where to look. My DAYS of searching seems to indicate that I am the only person on the planet with this problem. Eclipse IDE for PHP Developers (1.2.1.20090918-0703) WampServer Version 2.0 Apache 2.2.11 PH...

How to set breakpoints on lines that match a Task List token in Visual Studio?

This is neat: How do I put a breakpoint at every MessageBox in my application? But is there a way to do this type of thing for tokens in the Task List (View menu -> Task List) as well? For example, I have code like this: int a=0; //RETEST this code int b=0; //RETEST this code In the above, RETEST is a Task List token; is there a way...

Fixing "The breakpoint will not currently be hit. No symbols have been loaded for this document."

C# desktop application on express edition. Worked then didn't work 5 seconds later. I tried the following. Ensure debug configuration, debug flag, and full debug info are set on all assemblies. Delete all bin and obj folders and all DLLs related to the project from my entire machine. Recreate projects causing the problem from scratch....

Hardware breakpoints on XP 64 bit

Has anyone got hardware breakpoints to work on 64bit XP and if so how? We have an application that uses hardware breakpoints this has worked on 32 bit XP and 32 bit Vista operating systems for sometime now. However having ported our code to 64 bit we get a crash when the app is run on 64 bit XP but not when run on 64 bit Vista. The app ...