delve icon indicating copy to clipboard operation
delve copied to clipboard

Remaining work to support core files

Open aarzilli opened this issue 7 years ago • 7 comments

  • [x] Support floating point registers on linux (the code to parse an XSAVE area already exists in registers_linux_amd64.go, likely the same format is used in core dumps)
  • [ ] Support parsing of core dumps produced on macOS
  • [x] Support parsing of core dumps produced on Windows

aarzilli avatar Apr 19 '17 05:04 aarzilli

@heschik

hyangah avatar May 08 '17 15:05 hyangah

Is there any way to walk the stack of a core file with up/down?

jtanx avatar Aug 23 '17 22:08 jtanx

@jtanx frame 7 command to execute "command" on frame 7. Change goroutine with goroutine 5. Or use a GUI and click around.

aarzilli avatar Aug 24 '17 05:08 aarzilli

Ah... ok. That's not very intuitive. GDB supports using up/down in a core dump, which I find much more useful.

jtanx avatar Aug 24 '17 08:08 jtanx

I've looked into supporting macOS core fie but I can't find any way to retrieve the thread_handle of every thread, which we need to associate threads with goroutines.

aarzilli avatar Nov 06 '17 11:11 aarzilli

@aarzilli I think that the Windows support can also be ticked as done now, given minidumps support has landed, correct?

dlsniper avatar Nov 29 '18 11:11 dlsniper

@dlsniper yes.

aarzilli avatar Nov 29 '18 12:11 aarzilli