[go-nuts] Output format of IRNode.

2023-04-26 Thread Chris Zhang
Dear all, I am trying to dump certain IRNode in *src/cmd/internal/ssagen/ssa.go* file in 1.19. Suppose n is an IRNode , then I tried `*fmt.Printf(ā€œ%+vā€, n)*`, and I can see something like *.NAME-strong.u esc(no) Class:PPARAM Offset:24 On

[go-nuts] How to single step into runtime code

2022-07-18 Thread 'chris zhang' via golang-nuts
Hi everyone, I wonder how can I single step into runtime code (presumably in Visual Studio Code). I don't think this problem ties to any specific version of Go, but for context I'm using 1.18.3 on Intel Mac. What I want to do: given the source code, I want to track how map assignment happens t