Peter Hsu
12/28/2022, 6:59 PMPeter Hsu
12/28/2022, 6:59 PMPeter Hsu
12/28/2022, 7:00 PMkpgalligan
12/28/2022, 7:00 PMIs the xcode-kotlin plugin still active?Yes
Landry Norris
12/28/2022, 7:01 PMLandry Norris
12/28/2022, 7:02 PMkpgalligan
12/28/2022, 7:02 PMI’m really unsure of how adding the source files separately to xcode will help me to debugIt’s not Kotlin or plugin specific. LLVM builds add absolute path info into the debug build. You need to add the files to Xcode to set breakpoints, but they do nothing else. You want to add them in a way that Xcode doesn’t think they should be bundled, btw
kpgalligan
12/28/2022, 7:04 PMas we have a highly modularized project, so it seems I would need to add the source files from each individual projectYou need to add files for which you want to directly add breakpoints. If you “step into” some source, if lldb correctly follows the path, it’ll just open the file. Now, when you say “highly modularized”, are you building all of the Kotlin on your machine, or pulling in pre-build frameworks that are assembled, say, on CI? The debug info for LLVM/DB uses absolute paths, so without some magic, you can’t debug code that was built somewhere else.
kpgalligan
12/28/2022, 7:05 PMPeter Hsu
12/28/2022, 8:32 PMPeter Hsu
12/28/2022, 8:33 PMkpgalligan
12/28/2022, 8:33 PMkpgalligan
12/28/2022, 8:34 PMPeter Hsu
12/28/2022, 8:35 PMPeter Hsu
12/28/2022, 8:35 PMPeter Hsu
12/28/2022, 8:35 PMPeter Hsu
12/28/2022, 8:36 PMkpgalligan
12/28/2022, 8:36 PMPeter Hsu
12/28/2022, 8:36 PMkpgalligan
12/28/2022, 8:37 PMLandry Norris
12/28/2022, 8:37 PMPeter Hsu
12/28/2022, 8:38 PMPeter Hsu
12/28/2022, 8:40 PMkpgalligan
12/28/2022, 8:40 PMPeter Hsu
12/28/2022, 8:41 PMPaul Woitaschek
01/07/2023, 12:36 PM