godotengine / godotengine/godot-docs

scons command examples compiles without debug symbols

Open
#6,608 3 comments 1 reaction 0 assignees View on GitHub
area:engine details enhancement topic:buildsystem
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
Godot 4

**Env:**
Windows 10, Visual Studio 2022

**Issue description:**
scons command examples compiles without debug symbols, this can be frustrating, because Visual Studio breakpoints don't work this way. I expected breakpoints to work out of the box (as expected in the documentation).

I think ```dev_build=yes``` argument will be included in examples, because building engine is almost always for development/debugging purposes. And investigating into scons can take some time, to figure out a debug build option.

```scons platform=windows vsproj=yes``` - will compile engine without debug symbols
```scons platform=windows vsproj=yes dev_build=yes``` - will compile engine **_with_** debug symbols

**URL to the documentation page (if already existing):**
https://docs.godotengine.org/en/latest/contributing/development/compiling/compiling_for_windows.html#development-in-visual-studio
https://docs.godotengine.org/en/latest/contributing/development/configuring_an_ide/visual_studio.html#importing-the-project

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.