Skip to content

Commit dc78060

Browse files
committed
adding Visual Studio Configuration for debugging ..
1 parent 83a91b4 commit dc78060

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

.vscode/launch.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
8+
{
9+
"name": "(gdb) Starten",
10+
"type": "cppdbg",
11+
"request": "launch",
12+
"program": "${workspaceFolder}/paxcc_example",
13+
"args": [],
14+
"stopAtEntry": true,
15+
"cwd": "/usr/src/glibc/glibc-2.39",
16+
"environment": [],
17+
"externalConsole": false,
18+
"MIMode": "gdb",
19+
"preLaunchTask": "make",
20+
"setupCommands": [
21+
{
22+
"description": "Automatische Strukturierung und Einrückung für gdb aktivieren",
23+
"text": "-enable-pretty-printing",
24+
"ignoreFailures": true
25+
},
26+
{
27+
"description": "Disassemblierungsvariante auf Intel festlegen",
28+
"text": "-gdb-set disassembly-flavor intel",
29+
"ignoreFailures": true
30+
}
31+
]
32+
}
33+
34+
]
35+
}

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"makefile.makefilePath": "./Makefile",
3+
"makefile.launchConfigurations": [
4+
{
5+
"cwd": "/home/chris/source/cesmova",
6+
"binaryPath": "/home/chris/source/cesmova/cesmova",
7+
"binaryArgs": []
8+
}
9+
],
10+
"makefile.buildLog": ""
11+
}

.vscode/tasks.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"tasks": [
3+
{
4+
"type": "cppbuild",
5+
"label": "C/C++: g++ Aktive Datei kompilieren",
6+
"command": "/usr/bin/g++",
7+
"args": [
8+
"-fdiagnostics-color=always",
9+
"-g",
10+
"${file}",
11+
"-o",
12+
"${fileDirname}/${fileBasenameNoExtension}"
13+
],
14+
"options": {
15+
"cwd": "${fileDirname}"
16+
},
17+
"problemMatcher": [
18+
"$gcc"
19+
],
20+
"group": {
21+
"kind": "build",
22+
"isDefault": true
23+
},
24+
"detail": "Vom Debugger generierte Aufgabe."
25+
},
26+
{
27+
"type": "shell",
28+
"label": "make",
29+
"command": "make", // Could be any other shell command
30+
"args": ["all"]
31+
},
32+
{
33+
"type": "shell",
34+
"label": "make_clean",
35+
"command": "make", // Could be any other shell command
36+
"args": ["clean"]
37+
},
38+
{
39+
"type": "shell",
40+
"label": "make_docu",
41+
"command": "make", // Could be any other shell command
42+
"args": ["docu"]
43+
}
44+
45+
],
46+
"version": "2.0.0"
47+
}

0 commit comments

Comments
 (0)