Replies: 1 comment
-
|
Some minor notes that may or may not be related:
I've found the If you place a breakpoint in If it doesn't turn gray, but instead red, and just never hits the breakpoint, then I'm at a loss for advice, unfortunately. At that point your best bet is to put a breakpoint in Besides all that I don't see anything that sticks out in your setup. It looks fairly similar to my own. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using VSCode & Godot 4.3-stable
I have the Godot engine compiling from source and set up to run my scene (no project select or editor). I know that breakpoints are working in godot, because I can set a breakpoint in the source code of Godot engine.
Then I do a fresh build of Godot-Jolt with debugging symbols. But, I'm not able to hit the breakpoints that I put in Godot-Jolt, I put a bunch of different breakpoints in that are definitely getting hit, like the first line of
register_types.cpp:on_initialize. Any idea what I'm doing wrong?Below are my config files.
godot\.vscode\tasks.json{ "version": "2.0.0", "tasks": [ { "label": "build", "group": "build", "type": "shell", "command": "scons", "args": [ "dev_build=yes", "target=template_debug", "dev_mode=yes", "debug_symbols=yes", "optimize=none" ], "problemMatcher": "$msCompile" } ] }godot\.vscode\launch.json{ "version": "0.2.0", "configurations": [ { "name": "Launch Project", "type": "cppvsdbg", "request": "launch", "program": "${workspaceFolder}/bin/godot.windows.editor.dev.x86_64.exe", "args": [ "--debug", "--clean", "--path", "E:/Users/ewall/Godot/engine/godot-jolt-forked/examples", "res://scenes/joints/entities/distance/distance.tscn" // "--editor" ], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], "console": "internalConsole", "visualizerFile": "${workspaceFolder}/platform/windows/godot.natvis", "preLaunchTask": "build" } ] }godot-jolt-forked\CMakeUserPresets.json{ "version": 3, "configurePresets": [ { "name": "custom-dev", "inherits": [ "windows-msvc-x64", "dev-base" ], "displayName": "MSVC, 64-bit, Development", "cacheVariables": { "GDJ_INSTALL_DEBUG_SYMBOLS": { "type": "BOOL", "value": true }, "GDJ_INTERPROCEDURAL_OPTIMIZATION": { "type": "BOOL", "value": false } } } ], "buildPresets": [ { "name": "custom-debug-editor", "configurePreset": "custom-dev", "configuration": "EditorDebug", "displayName": "CustomEditorDebug", "targets": [ "install" ] }, { "name": "custom-debug", "configurePreset": "custom-dev", "configuration": "Debug", "displayName": "CustomDebug", "targets": [ "install" ] } ] }Beta Was this translation helpful? Give feedback.
All reactions