Skip to content

Commit 124f22e

Browse files
committed
add: Started refactoring
0 parents  commit 124f22e

File tree

1,288 files changed

+168245
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,288 files changed

+168245
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Nuculeo-VSExtension
2+
3+
### Cose interessanti
4+
5+
- referencesViews.ts: `void vscode.commands.executeCommand('setContext', 'cpptools.hasReferencesResults', hasResults);`
6+
-
7+
8+
9+
### Importante
10+
11+
- gli eseguibili in bin/ e le cartelle LLVM/ e debugAdapters/ non vengono fornite dalla microsoft e ogni cambio di release andranno copiate e incollate a mano nella cartella Extensions/ prima di lanciare il comando di build `vsce package`
12+
13+
14+
15+
### Strutturra della tesi
16+
17+
- Introduzione: Cosa vogliamo fare
18+
- Introduzione a vscode
19+
- obbiettivo? realizzazione di un estensione per debug del nucleo multiprogrammato
20+
21+
- Approccio:
22+
- VsCode debug interface
23+
- DAP e DP: spiegazione di cosa sono e come funzionano
24+
- Configurazione DAP:
25+
- launch.json e task.json
26+
- Conclusione
27+
################################################################################
28+
29+
30+
31+
sdasdsa

nucleo-7.1.2/.vscode/browse.vc.db

30.5 MB
Binary file not shown.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"env": {
3+
"myIncludePath": ["${workspaceFolder}/include", "${workspaceFolder}/src", "/home/chuck/CE/include/**"],
4+
"myDefines": ["DEBUG", "MY_FEATURE=1"]
5+
},
6+
"configurations": [
7+
{
8+
"name": "Nucleo",
9+
// "compilerPath": "/home/chuck/CE/bin/compile",
10+
"intelliSenseMode": "linux-gcc-x86",
11+
"compilerArgs": [""],
12+
// "includePath": ["${workspaceFolder}/include", "/usr/include", "/home/chuck/CE/include/"],
13+
// "cStandard": "gnu11",
14+
// "cppStandard": "gnu++14",
15+
// "configurationProvider": "ms-vscode.cmake-tools",
16+
// "compileCommands": "${workspaceFolder}/debug/compile_commands.json",
17+
"mergeConfigurations": false
18+
// "customConfigurationVariables": {
19+
// "myVar": "myvalue"
20+
// },
21+
// "browse": {
22+
// "path": ["${workspaceFolder}/include", "/usr/include", "${workspaceFolder}"],
23+
// "limitSymbolsToIncludedHeaders": true,
24+
// "databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db"
25+
// }
26+
}
27+
],
28+
"version": 4,
29+
"enableConfigurationSquiggles": true
30+
}

nucleo-7.1.2/.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Launch nmd",
6+
"type": "cppdbg",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/build/sistema",
9+
"cwd": "${workspaceFolder}",
10+
"miDebuggerPath": "gdb",
11+
"stopAtEntry": true,
12+
"preLaunchTask": "run",
13+
"setupCommands": [
14+
{"text": "cd ${workspaceFolder}"},
15+
{
16+
"text": "source .gdbinit",
17+
"ignoreFailures": true
18+
},
19+
],
20+
}
21+
]
22+
}

nucleo-7.1.2/.vscode/tasks.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"tasks": [
3+
{
4+
"label": "Compila il nucleo multiprogrammato",
5+
"type": "shell",
6+
"command": "compile",
7+
"options": {},
8+
"problemMatcher": [
9+
"$gcc"
10+
],
11+
"group": "build"
12+
},
13+
{
14+
"label": "Esegui il multiprogrammato",
15+
"type": "shell",
16+
"command": "boot",
17+
"options": {},
18+
"problemMatcher": [
19+
"$gcc"
20+
],
21+
"group": {
22+
"kind": "test",
23+
"isDefault": true
24+
}
25+
},
26+
{
27+
"label": "run",
28+
"type": "shell",
29+
"isBackground": true,
30+
"command": "boot -g",
31+
"dependsOn": "Compila il nucleo multiprogrammato",
32+
"problemMatcher": [
33+
{
34+
"pattern": [
35+
{
36+
"regexp": ".",
37+
"file": 1,
38+
"location": 2,
39+
"message": 3
40+
}
41+
],
42+
"background": {
43+
"activeOnStart": true,
44+
"beginsPattern": "INF",
45+
"endsPattern": "."
46+
}
47+
}
48+
]
49+
},
50+
{
51+
"label": "run_debug",
52+
"dependsOrder": "sequence",
53+
"dependsOn": [
54+
"compile_nmd",
55+
"run"
56+
]
57+
}
58+
],
59+
"version": "2.0.0"
60+
}

0 commit comments

Comments
 (0)