Bugzilla – Bug 7
Better breakpoints
Last modified: 2008-07-01 13:32:12 EDT
Use int $03 ASM instruction where possible to produce a "clean" breakpoint. Code copied from GLib.
Created attachment 3 [details] patch
Created attachment 34 [details] patch, v2 Updated patch, moves breakpoint stuff to its own breakpoint.{h,cc} files (and assert.cc removed).
What is the problem you are trying to solve exactly ?
1. breakpoints leave the debugger inside an inner function, not directly where the breakpoint was generated, the user then must go up the stack; 2. breakpoints produce a segmentation fault and do not allow the program to continue; you need "hacks" to avoid the segfault...
please, apply.