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

Unable to catch error message #1394

Closed
28176004 opened this issue Feb 22, 2024 · 1 comment
Closed

Unable to catch error message #1394

28176004 opened this issue Feb 22, 2024 · 1 comment

Comments

@28176004
Copy link

28176004 commented Feb 22, 2024

Godot version

v4.2-stable

godot-cpp version

4.2.1-stable

System information

Windows 10

Issue description

I used godot_cpp to reproduce the official demo "compute_shader_heightmap". An error occurred in the code, but vs code was unable to catch the error message. Output only in the editor. How do I get vs code to capture the underlying error output
屏幕截图(9)
屏幕截图(10)

Steps to reproduce

Debug configuration

{
      "name": "Map_start",
      "type": "cppdbg",
      "request": "launch",
      "program": "d:/Godot/Godot_v4.2-stable_win64.exe",
      "args": ["--path", "d:/Project/War2/Editor"],  
      "stopAtEntry": false,
      "cwd": "${fileDirname}",
      "environment": [],
      "externalConsole": false,
      "MIMode": "gdb",
      "miDebuggerPath": "C:\\w64devkit\\bin\\gdb.exe",
      "setupCommands": [
        {        
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        },
        {
          "text": "-gdb-set disassembly-flavor intel",
          "ignoreFailures": true
        }
      ]
    }

Minimal reproduction project

N/A

@pupil1337
Copy link
Contributor

The officially released stable editor does not have debugging information, cannot debug godot. Need compile godot self, and launch it.

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