MCPcopy Create free account
hub / github.com/Vector35/debugger / RegisterSettings

Function RegisterSettings

core/debugger.cpp:42–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42static void RegisterSettings()
43{
44 Ref<Settings> settings = Settings::Instance();
45 settings->RegisterGroup("debugger", "Debugger");
46 /*
47
48 Removed blockPython -- we can re-add it once this debugger is enabled by
49 default
50
51 Leaving this function for migration of the settings popup.
52
53 */
54
55 settings->RegisterSetting("debugger.stopAtSystemEntryPoint",
56 R"({
57 "title" : "Stop At System Entry Point",
58 "type" : "boolean",
59 "default" : false,
60 "description" : "Stop the target at system entry point",
61 "ignore" : ["SettingsProjectScope", "SettingsResourceScope"]
62 })");
63
64 settings->RegisterSetting("debugger.stopAtEntryPoint",
65 R"({
66 "title" : "Stop At Entry Point",
67 "type" : "boolean",
68 "default" : true,
69 "description" : "Stop the target at program entry point",
70 "ignore" : ["SettingsProjectScope", "SettingsResourceScope"]
71 })");
72
73#ifdef WIN32
74 settings->RegisterSetting("debugger.x64dbgEngPath",
75 R"({
76 "title" : "x64 DbgEng Installation Path",
77 "type" : "string",
78 "default" : "",
79 "description" : "Path of the x64 DbgEng Installation. This folder should contain an x64 dbgeng.dll.",
80 "ignore" : ["SettingsProjectScope", "SettingsResourceScope"]
81 })");
82 settings->RegisterSetting("debugger.x86dbgEngPath",
83 R"({
84 "title" : "x86 DbgEng Installation Path",
85 "type" : "string",
86 "default" : "",
87 "description" : "Path of the x86 DbgEng Installation. This folder should contain an x86 dbgeng.dll.",
88 "ignore" : ["SettingsProjectScope", "SettingsResourceScope"]
89 })");
90#endif
91
92 settings->RegisterSetting("debugger.stackVariableAnnotations",
93 R"({
94 "title" : "Stack Variable Annotations",
95 "type" : "boolean",
96 "default" : true,
97 "description" : "Add stack variable annotations",
98 "ignore" : ["SettingsProjectScope", "SettingsResourceScope"]
99 })");

Callers 1

debugger.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected