[PATCH v2] contrib: add showstack extension
Durham Goode
durham at fb.com
Mon Aug 31 22:32:45 UTC 2015
On 8/28/15 3:17 PM, Matt Mackall wrote:
> # HG changeset patch
> # User Matt Mackall <mpm at selenic.com>
> # Date 1440799171 18000
> # Fri Aug 28 16:59:31 2015 -0500
> # Node ID c5d7e20b1af27b040a5eae0e1439e7675c695762
> # Parent ab66c1dee405aca0c51b8f76eab255d805c194d7
> contrib: add showstack extension
>
> This allows getting a Python stack trace at any time on Unix by
> hitting Ctrl-\ (or Ctrl-T on BSDs). Useful for debugging mysterious
> hangs on the fly. Sample output:
>
That's pretty slick. It seems to drop me back to the command prompt
though, while the hg instance continues running in the background
(occasionally writing stdout back to me while I'm typing). I'm on
linux. Do you see that behavior too?
More information about the Mercurial-devel
mailing list