forked from quarnster/SublimeGDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SublimeGDB.sublime-settings
116 lines (96 loc) · 3.97 KB
/
SublimeGDB.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
// All options in here can also be specified in your project settings
// with a prepended "sublimegdb_". You probably want to
// have something like this in your project settings:
//
// "settings":
// {
// "sublimegdb_workingdir": "${folder:${project_path:your_executable_name}}",
// // NOTE: You MUST provide --interpreter=mi for the plugin to work
// "sublimegdb_commandline": "gdb --interpreter=mi ./your_executable_name"
//
// }
//
// ${home}, ${project_path:} and ${folder:} tokens can be used in the workingdir option.
//
// ${home} is replaced with the value of the HOME environment variable.
//
// ${project_path:} tries to find a file with the given name in all the registered project folders and
// returns the first file found, or the original file name if none is found.
// Example: ${project_path:main.cpp} tries to find a file named "main.cpp" relative
// to the current project's folders. If none is found, it is replaced with "main.cpp".
//
// ${folder:} is replaced with the dirname of the given path.
// Example: ${folder:/path/to/file} is replaced with "/path/to".
// "workingdir": "/tmp",
"workingdir": "notset",
// NOTE: You MUST provide --interpreter=mi for the plugin to work
// "commandline": "gdb --interpreter=mi ./executable",
"commandline": "notset",
// The command to use to run the program.
// If you are attaching to a remote program, you
// probably want to change this to -exec-continue
"exec_cmd": "-exec-run",
// For the larger binaries with lot of shared libraries
// the loading within the gdb could take much longer.
// Configure the thread wait timeout by setting gdb_timeout
"gdb_timeout": 20,
// Define debugging window layout (window split)
// first define column/row separators, then refer to them to define cells
"layout":
{
"cols": [0.0, 0.33, 0.66, 1.0],
"rows": [0.0, 0.75, 1.0],
"cells":
[ // c1 r1 c2 r2
[0, 0, 3, 1], // -> (0.00, 0.00), (1.00, 0.75)
[0, 1, 1, 2], // -> (0.00, 0.75), (0.33, 1.00)
[1, 1, 2, 2], // -> (0.33, 0.75), (0.66, 1.00)
[2, 1, 3, 2] // -> (0.66, 0.75), (1.00, 1.00)
]
},
// visual stuff
"breakpoint_scope": "keyword.gdb",
"breakpoint_icon": "circle",
"position_scope": "entity.name.class",
"position_icon": "bookmark",
"changed_variable_scope": "entity.name.class",
"changed_variable_icon": "",
// The group used for opening files
"file_group": 0,
"session_group": 1,
"session_open": true,
"console_group": 1,
"console_open": true,
"variables_group": 1,
"variables_open": true,
"callstack_group": 2,
"callstack_open": true,
"registers_group": 2,
"registers_open": false,
"disassembly_group": 2,
"disassembly_open": false,
// Set to "intel" for intel disassembly flavor. All other
// values default to using "att" flavor.
"disassembly_flavor": "intel",
"threads_group": 3,
"threads_open": true,
"breakpoints_group": 3,
"breakpoints_open": true,
// If set to true will push the layout before debugging
// and pop it when debugging ends
"push_pop_layout": true,
// If set to true will close the gdb views when the
// debugging session ends
"close_views": true,
// File to optionally write all the raw data read from and written to the gdb session and the inferior program.
// Setting it to "stdout" will write the output to the python console
"debug_file": "stdout",
// Add "pending breakpoints" for symbols that are dynamically loaded from
// external shared libraries
"debug_ext" : false,
// Whether to log the raw data read from and written to the gdb session and the inferior program.
"debug": true,
// Disables showing the error message dialog when something goes wrong
"i_know_how_to_use_gdb_thank_you_very_much": false
}