• Russ Cox's avatar
    runtime: omit breakpoint during terminal panic · 59ce067d
    Russ Cox authored
    A terminal panic (one that prints a stack trace and exits)
    has been calling runtime.breakpoint before calling exit,
    so that if running under a debugger, the debugger can
    take control.  When not running under a debugger, though,
    this causes an additional SIGTRAP on Unix and pop-up
    dialogs on Windows.
    
    Support for debugging Go programs has gotten good
    enough that we can rely on the debugger to set its own
    breakpoint on runtime.exit if it wants to look around.
    
    R=r, r2
    CC=golang-dev
    https://golang.org/cl/4222043
    59ce067d
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...