mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Merge #4287
4287: Update debugging.md r=matklad a=lonesometraveler Co-authored-by: KENTARO OKUDA <lonesometraveler@mac.com>
This commit is contained in:
commit
805c0b92ac
1 changed files with 4 additions and 4 deletions
|
@ -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`).
|
- `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.
|
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
|
> 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`.
|
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
|
### 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.
|
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`.
|
||||||
|
|
Loading…
Reference in a new issue