Comments (8)
That's a long story. I don't think it'll ever be quite as fast, but as long as it's usable, that's a start. About a year and a half ago I took the stock python file and did a bunch of optimizations on it, then submitted that to Jetbrains. They took some of them, but not all. I need to fix the current issue, then see if there are any other optimizations that would make sense, but I want to be able to use the file provided by Jetbrains if possible, so we don't need to maintain a fork of it. We'll see.
from xcode-kotlin.
More detail? What's slow? What data is being displayed?
from xcode-kotlin.
xcode is slow to resolve vars and step by step debugging (just for Kotlin native code)
from xcode-kotlin.
from xcode-kotlin.
you can get the video by this link
they are complex instance
thanks
from xcode-kotlin.
Yeah, that's the old lldb formatter. I'll check into it, but they shouldn't show the summary string like that. That's the default out of the box from Kotlin/Native. It recursively walks the whole object graph, which is why it's slow. Not sure how the Xcode plugin has that version, but it's wrong.
For a quick fix, find konan_lldb.py
and edit to_string
to simply return "..."
for the whole method.
from xcode-kotlin.
thanks for you help
The speed increase is obvious ~
so what is the next improvement ? the debug speed is still slower than the Object C code
from xcode-kotlin.
closing this. We're going to be syncing our lldb script with the JB one more frequently going forward, and looking for ways to improve the step and data access speeds.
from xcode-kotlin.
Related Issues (20)
- Can set breakpoints in Xcode 15 , but unable to view variable content HOT 4
- Breakpoints became disable when we run the app HOT 4
- Support for multiproject Kotlin builds HOT 3
- Amend Sync paragraph with OS update case HOT 1
- How does the functionality of this plugin differ from the official KMM plugin? HOT 1
- Support tvos, watchos and macos
- Add "Building" and "Contributing" sections to the README
- Do not uninstall LLDB init when reinstalling
- Kotlin Code Completion in Xcode HOT 2
- xcode-kotlin install crash (XCode 13.4) HOT 7
- Step into Kotlin from Swift/Objc
- Can set breakpoints in release build in Xcode, but debug build doesn't see Kotlin files at all HOT 3
- Look at K/N lldb scripts to see if xcode-kotlin needs an update HOT 1
- Xcode breakpoints indicating that the code is not compiled HOT 5
- Is this project alive? HOT 1
- Kotlin 1.9.0-RC has a significantly updated lldb script HOT 3
- Xcode 15 beta has issues HOT 5
- Xcode 15 beta crashes on launch if Xcode-kotlin is installed HOT 18
- Xcode crashes on launch with xcode-kotlin installed after updating to macOS 13.5 HOT 3
- Build failure against gradle 8.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcode-kotlin.