Giter VIP home page Giter VIP logo

godot-debug-builds's Introduction

Godot debug builds

This repository contains debug builds of the Godot editor with full debugging information. Most optimizations are disabled to make backtraces more useful. You want to use an optimized build for production, as it'll feel significantly snappier.

Those binaries can also be used to profile the engine execution and see where performance bottlenecks (in debug mode) come from. Note that in release binaries, the bottlenecks may not be exactly the same as release binaries have more optimizations enabled.

Windows binaries were compiled with Visual Studio Community. In addition to Godot's built-in crash handler, you can use Visual Studio or WinDbg to get backtraces. If you're on Windows 10, you may want to use the newer WinDbg Preview.

See BUILD.md if you want to compile your own debug builds easily.

Compiler versions used

Windows

  • For Godot 4.0 and later, Windows binaries were compiled on Windows 11 with Visual Studio 2022.
  • For Godot 3.5.1 and older, Windows binaries were compiled on Windows 10 with Visual Studio 2019.

Linux

  • For Godot 3.5 and later, Linux binaries were compiled on Ubuntu 20.04 with GCC 9.3.
  • For Godot 3.4.5 and older, Linux binaries were compiled on Ubuntu 18.04 with GCC 7.5.
  • For Godot 3.2.3 and older, Linux binaries were compiled on Ubuntu 16.04 with GCC 5.4.

macOS

  • For Godot 4.0.3 and later, Xcode 14.3 is used.

Downloads

  • Head to the Releases tab of this repository for downloads.

Usage

Windows

  • Download a debug build and extract the ZIP archive.
    • Make sure the PDB file is next to the executable at all times! The PDB file must also have the same name as the executable to work.
  • Start the debug build. You can either start it from a debugger, or attach a debugger at runtime (if you use Visual Studio for debugging).

Linux

  • Download a debug build and extract the ZIP archive.
  • Start the debug build from a terminal. You should get a backtrace in the terminal when it crashes.
    • You can also use gdb or lldb from the command line to run Godot and get a backtrace using bt full.

macOS

  • Follow instructions in Running Godot apps on macOS, as the editor isn't notarized.
  • To run the editor from a terminal, cd to the folder containing the .app bundle then run "Godot Debug.app/Contents/MacOS/Godot" (with quotes). This will allow you to see the crash handler's output when the editor crashes.

godot-debug-builds's People

Contributors

calinou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

edforge boyquotes

godot-debug-builds's Issues

Windows releases' .pdb files have invalid names

Hi @Calinou,

First thank you for those builds, I find them pretty useful for debugging ;-)

I've noticed visual studio complains abou the name of the .pdb file and cannot load debug symbols. This is probably due to the fact the godot binary has been compiled then renamed, if I rename the .pdb file to godot.windows.tools.64.pdb it works fine

Godot 4.1

I would like 4.1.x debug releases.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.