-
Notifications
You must be signed in to change notification settings - Fork 385
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
There are a number of steps that are needed to load a coredump in lldb and get SOS to work:
- Download/supply the "host" program on the lldb command line. This is the native application that .NET app was started: "dotnet", "apphost" or the single-file application binary.
- Download and make available the libcoreclr.{so,dylib} before lldb is started otherwise the runtime module can't be found by SOS. Unless it is a full core dump, the actual runtime module file needs to be provide for the lldb module enumeration APIs SOS uses to find it.
- Find and launch the lldb binary with the necessary options.
Live debugging with lldb does not have these problems; only core dump debugging so adding an option to dotnet-dump analyze that does those steps and ends up with lldb command prompt. Even though there is documentation on lldb dump debugging that uses dotnet-symbol to do those first 2 steps, but it seems that one of common problems our customers have is getting all this right.
kevingosse
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request