@dasdom @alexsteinerde ... then commenting-out code and praying it does something also doesn't count?
Conversation
Notices
-
Embed this notice
Christian Tietze (ctietze@mastodon.social)'s status on Tuesday, 28-Jan-2025 15:26:12 JST
Christian Tietze
-
Embed this notice
dasdom (dasdom@chaos.social)'s status on Tuesday, 28-Jan-2025 15:26:12 JST
dasdom
@ctietze @alexsteinerde Are you serious? SwiftUI is really not debugable?
-
Embed this notice
dasdom (dasdom@chaos.social)'s status on Tuesday, 28-Jan-2025 15:26:13 JST
dasdom
@alexsteinerde This is not debugging. This is messing around. ;)
-
Embed this notice
Alexander Steiner (alexsteinerde@mastodon.social)'s status on Tuesday, 28-Jan-2025 15:26:15 JST
Alexander Steiner
@dasdom
.background(Color.red) ;) -
Embed this notice
dasdom (dasdom@chaos.social)'s status on Tuesday, 28-Jan-2025 15:26:16 JST
dasdom
SwiftUI experts: How do you debug a feature that uses SwiftUI?
In UIKit I print the current view controller and with lldb I can manipulate the views to figure out what the problem is. This seems not to work in SwiftUI. How do you find the line of code that is problematic to fix an issue?
-
Embed this notice
Christian Tietze (ctietze@mastodon.social)'s status on Thursday, 30-Jan-2025 22:07:22 JST
Christian Tietze
@obrhoff @dasdom @alexsteinerde I see why you want to switch to Zed (eventually) now that all tools are equally bad at debugging :)
-
Embed this notice