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

[C#] Can't attach debugger when launching project. #96558

Closed
zaevi opened this issue Sep 4, 2024 · 2 comments
Closed

[C#] Can't attach debugger when launching project. #96558

zaevi opened this issue Sep 4, 2024 · 2 comments

Comments

@zaevi
Copy link
Contributor

zaevi commented Sep 4, 2024

Tested versions

  • Reproducible in: v4.4.dev.mono.custom_build.e2dd56bea (2024-09-03 15:38:17 UTC)
  • Not reproducible in: 4.3.stable (still works now)

System information

Godot v4.4.dev.mono (e2dd56b) - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4060 (NVIDIA; 31.0.15.5123) - 13th Gen Intel(R) Core(TM) i5-13400F (16 Threads)

Issue description

Unable to attach debugger when launching project on latest build.

It's OK to attach to a running instance.

image

My launch.json config for VSCode:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(C#)Launch",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "dotnet: build",
            "program": "${env:GODOT}", // my path to latest godot build
            // "program": "C:\\Dev\\Godot\\4.3.stable\\Godot_v4.3-stable_mono_win64.exe",
            "args": [
                "--verbose"
            ],
            "cwd": "${workspaceFolder}",
            "console": "internalConsole",
            "justMyCode": false,
            "stopAtEntry": false,
        },
        {
            "name": "(C#)Attach",
            "type": "coreclr",
            "request": "attach",
        },
    ]
}

Steps to reproduce

Debug any project (by launching) on 4.4.dev.

Minimal reproduction project (MRP)

Mrp with vscode launch.json:

DebuggerMRP.zip

@zaevi
Copy link
Contributor Author

zaevi commented Sep 12, 2024

I can't reproduce it after dev2 (v4.4.dev.mono.custom_build [83d54ab2a]). Some pr fixed this? @_@

@AThousandShips AThousandShips added this to the 4.4 milestone Sep 12, 2024
@AThousandShips
Copy link
Member

Closing as fixed, if it returns please comment here and this can be reopened, and if you can identify when this was fixed adding that would be great information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Unassessed
Development

No branches or pull requests

2 participants