-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgdb.json
More file actions
80 lines (80 loc) · 2.12 KB
/
gdb.json
File metadata and controls
80 lines (80 loc) · 2.12 KB
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
{
"commands" : [
{
"tag": "break [location]",
"message": "Set a breakpoint at the specified location (function, line, or address)"
},
{
"tag": "run [args]",
"message": "Start the program with optional arguments for debugging"
},
{
"tag": "continue",
"message": "Resume execution after stopping at a breakpoint"
},
{
"tag": "next",
"message": "Execute the next line of source code (skip function calls)"
},
{
"tag": "step",
"message": "Execute the next line of source code (enter function calls)"
},
{
"tag": "list [location]",
"message": "Display the source code around the specified location"
},
{
"tag": "info breakpoints",
"message": "Show information about set breakpoints"
},
{
"tag": "delete [breakpoint number]",
"message": "Remove the specified breakpoint or clear all breakpoints"
},
{
"tag": "backtrace",
"message": "Print a stack trace of function calls"
},
{
"tag": "print [expression]",
"message": "Evaluate and display the value of an expression"
},
{
"tag": "set [variable] [value]",
"message": "Change the value of a variable during debugging"
},
{
"tag": "info locals",
"message": "Display local variables in the current function"
},
{
"tag": "info threads",
"message": "List all threads in the debugged program"
},
{
"tag": "thread [thread number]",
"message": "Switch to the specified thread for debugging"
},
{
"tag": "break [function]",
"message": "Set a breakpoint at the start of the specified function"
},
{
"tag": "watch [expression]",
"message": "Set a watchpoint to break when an expression's value changes"
},
{
"tag": "info watchpoints",
"message": "List all active watchpoints"
},
{
"tag": "info sources",
"message": "List the directories where GDB looks for source files"
},
{
"tag": "info variables [scope]",
"message": "Display variables within a specified scope (local, global, etc.)"
}
]
}