mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: record Python stack on TestGdbPython failure
For #15599. Change-Id: Icc2e58a3f314b7a098d78fe164ba36f5b2897de6 Reviewed-on: https://go-review.googlesource.com/23481 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
fa3543e337
commit
966baedfea
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ func TestGdbPython(t *testing.T) {
|
|||
fmt.Sprintf("add-auto-load-safe-path %s/src/runtime", runtime.GOROOT()),
|
||||
"-ex", "set startup-with-shell off",
|
||||
"-ex", "info auto-load python-scripts",
|
||||
"-ex", "set python print-stack full",
|
||||
"-ex", "br main.go:10",
|
||||
"-ex", "run",
|
||||
"-ex", "echo BEGIN info goroutines\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue