mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Documentation: Update VSCodeConfiguration.md
- Update debug description for debugging on Linux with VSCode - Update build paths in documentation
This commit is contained in:
parent
4fc8443757
commit
0c2db2ab35
Notes:
github-actions[bot]
2025-05-06 14:01:23 +00:00
Author: https://github.com/Golho 🔰
Commit: 0c2db2ab35
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4617
2 changed files with 6 additions and 6 deletions
|
@ -49,9 +49,9 @@ This error typically arises when CLion is not configured to use the correct buil
|
|||
|
||||
**Solution**: Ensure that CLion's build directory is set to the correct build directory for the selected profile.
|
||||
Navigate to `Settings -> Build, Execution, Deployment -> CMake` and in your selected profile, set the `Build directory` according to the profile:
|
||||
- Default -> "`Build/ladybird`"
|
||||
- Debug -> "`Build/ladybird-debug`"
|
||||
- Sanitizer -> "`Build/ladybird-sanitizers`"
|
||||
- Default -> "`Build/release`"
|
||||
- Debug -> "`Build/debug`"
|
||||
- Sanitizer -> "`Build/sanitizers`"
|
||||
|
||||
|
||||
## Notes for WSL Users
|
||||
|
|
|
@ -294,7 +294,7 @@ If you want to run the debugger, first place the content below in `.vscode/launc
|
|||
"name": "Attach to WebContent",
|
||||
"type": "lldb",
|
||||
"request": "attach",
|
||||
"program": "${workspaceFolder}/Build/ladybird-debug/bin/Ladybird.app/Contents/MacOS/WebContent",
|
||||
"program": "${workspaceFolder}/Build/debug/bin/Ladybird.app/Contents/MacOS/WebContent",
|
||||
}
|
||||
],
|
||||
}
|
||||
|
@ -319,7 +319,7 @@ For Linux, the `launch.json` will instead be the file below.
|
|||
"name": "Attach and debug",
|
||||
"type": "cppdbg",
|
||||
"request": "attach",
|
||||
"program": "${workspaceRoot}/Build/ladybird-debug/libexec/WebContent",
|
||||
"program": "${workspaceRoot}/Build/debug/libexec/WebContent",
|
||||
"MIMode": "gdb",
|
||||
},
|
||||
]
|
||||
|
@ -332,7 +332,7 @@ Running Ladybird as follows:
|
|||
BUILD_PRESET=Debug Meta/ladybird.sh run ladybird --debug-process WebContent
|
||||
```
|
||||
|
||||
Then follow the same steps found in the Mac section.
|
||||
Then follow the same steps found in the Mac section. Notice also that you need to have `gdb` (the GNU Debugger) installed.
|
||||
|
||||
### License snippet
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue