Skip to content

Commit 79fddce

Browse files
committed
language cleaning, new header text, clarifications
1 parent befd129 commit 79fddce

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
![Debugging Masterclass](title.png)
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.
55
---
66

77
**Prerequisite:** [C/C++ extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) from Microsoft
@@ -12,9 +12,9 @@
1212
Let's go ahead and open from the application menu bar at the top `File->New Window (⇧⌘N)` to work with.
1313

1414
- 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.
1616
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}.
1818

1919
[**Quick video of creating the following template configuration files**](https://vimeo.com/659664828)
2020

@@ -24,8 +24,8 @@ Let's go ahead and open from the application menu bar at the top `File->New Wind
2424

2525
- 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)`.
2626

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`**
2929

3030
> Tip: Hover your mouse over the variables for clarifying mouseover texts.
3131

@@ -37,7 +37,6 @@ From the file we can notice the `label` for the task; `command` to run, specifyi
3737
>
3838
> ![<Image of IntelliSense contextual menu>](https://i.imgur.com/nnkQwXo.png)
3939
40-
4140
"args": [
4241
"-g",
4342
"-Wall",
@@ -57,7 +56,7 @@ From the file we can notice the `label` for the task; `command` to run, specifyi
5756

5857
I like to use the ${workspaceFolder} variable which represents the root directory in the workspace. This is why we at first opened the directory.
5958

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/
6160

6261
- Add library inclusions and header search directories as usual.
6362

0 commit comments

Comments
 (0)