-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat: debugging K/N page revamp #4962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
danil-pavlov
commented
Jul 17, 2025
- KT-68506
```bash | ||
3: regex = 'main\(', locations = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```bash
(lldb) b -r main\(
3: regex = 'main\(', locations = 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a line in LLDB/By regex
Crash reports typically require symbolication, the process of translating memory addresses into readable source code locations. | ||
|
||
To symbolicate addresses in Kotlin code (for example, for stack trace elements corresponding to Kotlin code), you need a | ||
special debug symbol (`.dSYM`) file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: .dSYM
files are used only for Apple platforms.
On other platforms, enabling the flag just adds debug information into the produced binaries (increasing their size in particular).
* **Using Gradle tasks**. To get debug binaries, use `linkDebug*` Gradle tasks, for example: | ||
|
||
```bash | ||
./gradlew linkDebugFrameworkNative |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: when debugging from Xcode or IntelliJ IDEA or Android Studio, this happens automatically (unless build is configured otherwise).