runtime: print "created by" for running goroutines in traceback
This allows to at least determine goroutine "identity".
Now it looks like:
goroutine 12 [running]:
goroutine running on other thread; stack unavailable
created by testing.RunTests
src/pkg/testing/testing.go:440 +0x88e
Please move printcreatedby back into the traceback files. It's for traceback and I'd like to ...
11 years, 7 months ago
(2013-08-01 14:49:25 UTC)
#4
Please move printcreatedby back into the traceback files. It's for
traceback and I'd like to have all that code together. Yes, that means
there will be two copies. When things settle down I have a CL in progress
that will merge them into a single copy.
Russ
On 2013/08/01 14:49:25, rsc wrote: > Please move printcreatedby back into the traceback files. It's ...
11 years, 7 months ago
(2013-08-01 14:55:15 UTC)
#5
On 2013/08/01 14:49:25, rsc wrote:
> Please move printcreatedby back into the traceback files. It's for
> traceback and I'd like to have all that code together. Yes, that means
> there will be two copies. When things settle down I have a CL in progress
> that will merge them into a single copy.
Done
PTAL
*** Submitted as https://code.google.com/p/go/source/detail?r=8392e1e69138 *** runtime: print "created by" for running goroutines in traceback This ...
11 years, 7 months ago
(2013-08-01 15:30:14 UTC)
#7
*** Submitted as https://code.google.com/p/go/source/detail?r=8392e1e69138 ***
runtime: print "created by" for running goroutines in traceback
This allows to at least determine goroutine "identity".
Now it looks like:
goroutine 12 [running]:
goroutine running on other thread; stack unavailable
created by testing.RunTests
src/pkg/testing/testing.go:440 +0x88e
R=golang-dev, r, rsc
CC=golang-dev
https://codereview.appspot.com/12248043
Issue 12248043: code review 12248043: runtime: print "created by" for running goroutines in t...
(Closed)
Created 11 years, 7 months ago by dvyukov
Modified 11 years, 7 months ago
Reviewers:
Base URL:
Comments: 0