Bugzilla – Bug 7
Better breakpoints
Last modified: 2008-07-01 13:32:12 EDT
You need to log in before you can comment on or make changes to this bug.
Use int $03 ASM instruction where possible to produce a "clean" breakpoint. Code copied from GLib.
Created an attachment (id=3) [details] patch
Created an attachment (id=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.