You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
2
3
3

4
-
### The following guide shows a way to use the user interface for the LLDB debugger of Visual Studio Code.
4
+
### The following is a guide to using the native Visual Studio Code interface for the LLDB low-level debugger.
5
5
---
6
6
7
7
**Prerequisite:**[C/C++ extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) from Microsoft
@@ -12,9 +12,9 @@
12
12
Let's go ahead and open from the application menu bar at the top `File->New Window (⇧⌘N)` to work with.
13
13
14
14
- Select the newly opened window and do `File->Open... (⌘O)` and navigate to the directory which holds the files you wish to debug.
15
-
>Tip: Use ⌘↑ to navigate to the parent directory.
15
+
>Tip: Use ⌘↑ to navigate to the parent directory while selecting the directory in the Finder pop up.
16
16
17
-
- In the Explorer view project directory should appear as the root of the Workspace. This is important so that later in the .json files we can call this as ${workspaceFolder}.
17
+
- In the Explorer view your project directory should appear as the root of the Workspace. This is important so that later in the .json files we can call this as ${workspaceFolder}.
18
18
19
19
[**Quick video of creating the following template configuration files**](https://vimeo.com/659664828)
20
20
@@ -24,8 +24,8 @@ Let's go ahead and open from the application menu bar at the top `File->New Wind
24
24
25
25
- From the popped up list of detected tasks select the cogwheel (`Configure task`) from the right hand side of the task named `(C/C++: clang build active file, compiler: /usr/bin/clang)`.
26
26
27
-
- Inside .vscode directory (should be inside root of our repo)`tasks.json` file should appear with a preconfigured setup.
28
-
**This is one of the two crucial files in debugging with Visual Studio Code. Another one being launch.json**
27
+
- Inside .vscode directory (should be inside the root of our repo)`tasks.json` file should appear with a preconfigured setup.
28
+
**This is one of the two crucial files in debugging with Visual Studio Code. Another one being `launch.json`**
29
29
30
30
> Tip: Hover your mouse over the variables for clarifying mouseover texts.
31
31
@@ -37,7 +37,6 @@ From the file we can notice the `label` for the task; `command` to run, specifyi
@@ -57,7 +56,7 @@ From the file we can notice the `label` for the task; `command` to run, specifyi
57
56
58
57
I like to use the ${workspaceFolder} variable which represents the root directory in the workspace. This is why we at first opened the directory.
59
58
60
-
- Specify all the names of the files to be added to the compilation as usual. Prepend them with the absolute path of ${workspaceFolder}.
59
+
- Specify all the paths to the files to be added to the compilation as usual. Prepend them with the absolute path of ${workspaceFolder}. Currently our files to be debugged reside in ${workspaceFolder}/libft/
61
60
62
61
- Add library inclusions and header search directories as usual.
0 commit comments