Skip to content

Unable to catch error message #1394

@28176004

Description

@28176004

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions