diff options
| author | KENTARO OKUDA <lonesometraveler@mac.com> | 2020-05-03 15:14:56 -0400 |
|---|---|---|
| committer | KENTARO OKUDA <lonesometraveler@mac.com> | 2020-05-03 15:14:56 -0400 |
| commit | 42e2eca921db19d4c39f4d3ea281a624f8f8a166 (patch) | |
| tree | 4f080d0028c03dc9d41c2325b2934e900fcb0551 /docs/dev/debugging.md | |
| parent | 4f4d0fd9ac2e1d4929bc749cbba0b67406302b6a (diff) | |
| download | rust-42e2eca921db19d4c39f4d3ea281a624f8f8a166.tar.gz rust-42e2eca921db19d4c39f4d3ea281a624f8f8a166.zip | |
Update debugging.md
Diffstat (limited to 'docs/dev/debugging.md')
| -rw-r--r-- | docs/dev/debugging.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/dev/debugging.md b/docs/dev/debugging.md index bece6a57204..1aa39293583 100644 --- a/docs/dev/debugging.md +++ b/docs/dev/debugging.md @@ -26,7 +26,7 @@ where **only** the `rust-analyzer` extension being debugged is enabled. - `Run Extension (Dev Server)` - runs extension with the locally built LSP server (`target/debug/rust-analyzer`). TypeScript debugging is configured to watch your source edits and recompile. -To apply changes to an already running debug process press <kbd>Ctrl+Shift+P</kbd> and run the following command in your `[Extension Development Host]` +To apply changes to an already running debug process, press <kbd>Ctrl+Shift+P</kbd> and run the following command in your `[Extension Development Host]` ``` > Developer: Reload Window @@ -76,11 +76,11 @@ Make sure you open a rust file in the `[Extension Development Host]` and try aga Make sure you have run `echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope`. -By default this should reset back to 1 everytime you log in. +By default this should reset back to 1 every time you log in. ### Breakpoints are never being hit -Check your version of `lldb` if it's version 6 and lower use the `classic` adapter type. +Check your version of `lldb`. If it's version 6 and lower, use the `classic` adapter type. It's `lldb.adapterType` in settings file. -If you're running `lldb` version 7 change the lldb adapter type to `bundled` or `native`. +If you're running `lldb` version 7, change the lldb adapter type to `bundled` or `native`. |
