Skip to content

Instantly share code, notes, and snippets.

@JFonS
JFonS / compile_commands_2e065d8.json
Created September 21, 2019 18:43
Godot (2e065d8) compile comands for an X11 build. Replace ${ROOT_DIR} with your absolute path to Godot source (might be irrelevant for autocompletion purposes, haven't really checked)
[
{
"arguments": [
"g++",
"-c",
"-std=c++11",
"-g3",
"-pipe",
"-fpie",
"-pthread",
from dumper import *
import gdb
def qdump__String(d, value):
if value["_cowdata"]["_ptr"].integer() == 0:
d.putValue("")
return
d.putItem(value["_cowdata"]["_ptr"])