Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS 2022 Attach to process (gdb): Docker (Linux container) works, SSH (same container process) hangs loading symbols #1416

Open
meastp opened this issue Aug 23, 2023 · 1 comment

Comments

@meastp
Copy link

meastp commented Aug 23, 2023

Hi,

I'm struggling with attaching to a process running in a linux container (Ubuntu 23.04, with openssh-server and gdb installed).

Open empty visual studio / no code.

If I try Attach to Process -> Docker (Linux Container) it works perfectly, with breakpoints etc.

If I try Attach to Process -> SSH (have configured and testet connection ubuntu@localhost port 22 is bound to port 2222 locally.)

This seems to start (I pick the process and Native (GDB) debugger and Attach), but hangs indefinetly (until i kill visual studio) on
Loading Symbols
Loading symbols for module /lib/x86_64-linux-gnu/libcrypto.so.3

I have checked that the file exists. Also, since attaching through Docker (Linux Container) works, this should be ok.

I have tried to enable logging https://github.com/microsoft/MIEngine/wiki/Logging#enabling-logging-from-visual-studio
but I didn't get any output to the console.

@Hedges

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants