Xcode + remove all breakpoints

Well there’s a 3 step way: Press CMD(⌘)+7 to show all breakpoints. In Xcode4 press CMD(⌘)+6, in Xcode3 press CMD(⌘)+ALT+B. Select all breakpoints with CMD(⌘)+A and delete them, like deleting text, with backspace. There’s no step 3 🙂

Break on a change of variable value

You don’t even need an IDE – you can use “Object.watch()”: Object.Watch Tutorial If you use any one debugger, I’d strongly recommend Firebug. For all your Javascript, HTML and CSS needs :-): http://getfirebug.com/javascript =========================================================== Update for 2019: Object.Watch is Ancient History. Uncoincidentally, it’s unavailable in most contemporary browsers. My personal favorite JS debugging tool these … Read more

Delphi: why breakpoints from time to time are not usable (green highlighted line on IDE)?

Debug info isn’t present in the file. Make sure that you’re using the Debug configuration. (Project Manager tree, expand Build Configurations, make sure Debug is bold. If it’s not, right click Debug and choose Activate from the context menu.) Make sure you then do a Build of your project, not just a Compile. If that … Read more

Are “EXC_BREAKPOINT (SIGTRAP)” exceptions caused by debugging breakpoints?

Are “EXC_BREAKPOINT (SIGTRAP)” exceptions caused by debugging breakpoints? No. Other way around, actually: A SIGTRAP (trace trap) will cause the debugger to break (interrupt) your program, the same way an actual breakpoint would. But that’s because the debugger always breaks on a crash, and a SIGTRAP (like several other signals) is one type of crash. … Read more

Eclipse – Unable to install breakpoint due to missing line number attributes

I had the same error message in Eclipse 3.4.1, SUN JVM1.6.0_07 connected to Tomcat 6.0 (running in debug-mode on a different machine, Sun JVM1.6.0_16, the debug connection did work correctly). Window –> Preferences –> Java –> Compiler –> Classfile Generation: “add line number attributes to generated class file” was checked. I did a clean, recompile. … Read more