Open .NET Core 2.0 dump in lldb on Linux – which lldb version?

Quite old question, but maybe this helps someone:

E.g. Dockerfile to include lldb and into asp dotnet 3.1

FROM mcr.microsoft.com/dotnet/core/aspnet:3.1

WORKDIR /vsdbg
RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        unzip \
        procps \
        lldb-3.9 \
    && rm -rf /var/lib/apt/lists/* \
    && curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v vs2019 -l /vsdbg
WORKDIR /app

Also at a look at this site: https://www.aaron-powell.com/posts/2019-04-04-debugging-dotnet-in-docker-with-vscode/

And add CAP_SYS_PTRACE at docker run if you want to attach to the running process inside container.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)