Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs3-23sp
project05
Commits
b7ad488f
Commit
b7ad488f
authored
3 years ago
by
Sarah Acadia Dunbar
Browse files
Options
Download
Email Patches
Plain Diff
Update launch.json
parent
2683a6d9
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.vscode/launch.json
+6
-52
.vscode/launch.json
with
6 additions
and
52 deletions
+6
-52
.vscode/launch.json
View file @
b7ad488f
...
...
@@ -5,58 +5,12 @@
//
they
use
different
debuggers
//
If
you
want
to
create
a
configuration
for
a
specific
binary
,
//
it
would
look
like
these
two
,
with
the
corresponding
stuff
in
tasks
//
it
would
look
like
this
//
you
can
debug
any
test
by
opening
it
,
navigating
to
the
debugger
menu
,
//
setting
breakpoints
,
and
clicking
debug
{
"name"
:
"(Windows) Debug bin/bounce"
,
"type"
:
"cppvsdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/bin/bounce.exe"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"console"
:
"newExternalWindow"
,
"preLaunchTask"
:
"make bin/bounce"
,
},
{
"name"
:
"(OS X / Linux) Debug bin/bounce"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/bin/bounce"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"miDebuggerPath"
:
"/usr/bin/gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
"text"
:
"-enable-pretty-printing"
,
"ignoreFailures"
:
true
}
],
"preLaunchTask"
:
"make bin/bounce"
,
},
//
On
the
other
hand
,
there's
a
_lot_
of
test
suites
,
and
I
don't
//
want
to
write
a
configuration
for
all
of
them.
//
This
config
actually
works
for
demos
too!
{
"name"
:
"(Windows) Debug active file"
,
"type"
:
"cppvsdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/bin/${fileBasenameNoExtension}.exe"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"console"
:
"newExternalWindow"
,
"preLaunchTask"
:
"make active file"
,
},
{
"name"
:
"(OS X / Linux) Debug active file"
,
"name"
:
"Debug active file"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/bin/${fileBasenameNoExtension}"
,
...
...
@@ -66,7 +20,7 @@
"environment"
:
[],
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"miDebuggerPath"
:
"/
path/to
/gdb"
,
"miDebuggerPath"
:
"/
usr/bin
/gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help