On Fri, Mar 01, 2013 at 10:13:13AM -0800, Rob Pike wrote:
> How about
>
> runtime.Breakpoint()
>
> How about
>
> var p *int
> *p = 0
If I do any of that, I get SIGTRAP caught or 'nil pointer dereference', and
backtraces of goroutines on stderr.
> Run in a debugger or set your environment up so you get core files.
If the environment is 'ulimit -S -c unlimited', it doesn't help getting core
dump files with that means.
> I might not be understanding the problem.
Maybe it's me who doesn't understand something trivial. :)
Thank you,
Lluís.