Alessandro Arzilli

Results 225 comments of Alessandro Arzilli
trafficstars

Personally, I wouldn't ever write out to a file a numeric address, since that's going to change between compilations anyway. I'd say if the `*addr` resolves to the base address...

These are the instructions produced for that main function: ``` TEXT main.main(SB) /home/a/temp/demo.go demo.go:16 0x44d6c0 64488b0c25f8ffffff FS MOVQ FS:0xfffffff8, CX demo.go:16 0x44d6c9 483b6110 CMPQ 0x10(CX), SP demo.go:16 0x44d6cd 7632 JBE...

> The issue is about expectations. If I set a breakpoint on a line, I expect the debugger to stop there Of course. OTOH if you try to set a...

Judging by the PCDATA/FUNCDATA stuff, I think that's actually printing go's intermediate representation rather than assembly. I imagine NOPs get compiled into nothing. BTW tip doesn't emit them in the...

- I would definitely disallow moving to a different function. - This is indeed an easy feature to add, just look up in debugger.go how we resolve locspecs when setting...

Do you know how to do that with homebrew? I looked but couldn't find anything.

The homebrew recipe is no longer supported, VSCode-go is maintained [here](https://github.com/Microsoft/vscode-go).

OSSpecificDetails and WaitStatus are defined in pkg/proc/native/threads_darwin.go. I don't see a reason why your compiler isn't seeing them. You could manually do a `go build -x -ldflags="-s" github.com/derekparker/delve/cmd/dlv` and see...