mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #85590 from gottesmm/pr-ec98d099eea90c59803748f629e9c4dfb27d42a0
[docs] Add some information to DebuggingTheCompiler.md about working with the various simulators.
This commit is contained in:
@@ -52,6 +52,7 @@ benefit of all Swift developers.
|
|||||||
- [Viewing allocation history, references, and page-level info](#viewing-allocation-history-references-and-page-level-info)
|
- [Viewing allocation history, references, and page-level info](#viewing-allocation-history-references-and-page-level-info)
|
||||||
- [Printing memory contents](#printing-memory-contents)
|
- [Printing memory contents](#printing-memory-contents)
|
||||||
- [Windows Error Codes](#windows-error-codes)
|
- [Windows Error Codes](#windows-error-codes)
|
||||||
|
- [Debugging Simulator Apps](#working-simulator-apps)
|
||||||
- [Debugging LLDB failures](#debugging-lldb-failures)
|
- [Debugging LLDB failures](#debugging-lldb-failures)
|
||||||
- ["Types" Log](#types-log)
|
- ["Types" Log](#types-log)
|
||||||
- ["Expression" Log](#expression-log)
|
- ["Expression" Log](#expression-log)
|
||||||
@@ -1201,6 +1202,15 @@ Some relevant Microsoft documentation:
|
|||||||
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/0642cb2f-2075-4469-918c-4441e69c548a
|
* https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/0642cb2f-2075-4469-918c-4441e69c548a
|
||||||
* https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
|
* https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
|
||||||
|
|
||||||
|
## Debugging Simulator Apps
|
||||||
|
|
||||||
|
Sometimes one has to debug apps compiled for one of the simulators (e.x.: iOS
|
||||||
|
simulator). To manipulate the simulator from the command line, one uses the tool
|
||||||
|
called `simctl`. This lets one perform actions such as installing apps,
|
||||||
|
uninstalling apps, and of course launching apps. To pass through environment
|
||||||
|
variables to launched apps, one sets them in the calling environment using the
|
||||||
|
environment variable prefix `SIMCTL_CHILD_$ACTUAL_ENV_VAR_NAME`.
|
||||||
|
|
||||||
# Debugging LLDB failures
|
# Debugging LLDB failures
|
||||||
|
|
||||||
Sometimes one needs to be able to while debugging actually debug LLDB and its
|
Sometimes one needs to be able to while debugging actually debug LLDB and its
|
||||||
|
|||||||
Reference in New Issue
Block a user