this post was submitted on 29 Dec 2023
14 points (100.0% liked)

KDE

5259 readers
190 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

I have to use macOS (10.14 IIRC) at school and I'm using Kate as my primary text editor. I'm using the latest release binary here.

Out of the box, three major features don't work. The debugger, the terminal and lsp. After messing around a little, I was able to get lsp working by installing llvm through homebrew for clangd and pointing the lsp config file to the proper location, because my homebrew prefix is the non-default ~/.brew/ due to a lack of admin privileges.

Terminal just crashes Kate the moment you try to open it and the macOS port of Konsole is extremely broken, so I'm not holding out much hope for that (and either way I'm happy with iTerm2), but I feel like there should be a way to get the debugger working. Basically the problem is that the debugger is built for gdb, but macOS ships with lldb. I tried installing gdb through homebrew, but couldn't figure out how to point the debugger to my homebrew prefix. Also looked like there was a way to add additional debuggers and I tried to add lldb that way, but couldn't figure it out either.

If someone has gotten this working, I'd love some help

Update: Made some progress. Found out how to get the debugger to use homebrew gdb. In advanced config, I just changed the command from gdb to ~/.brew/bin/gdb. It's still broken, tho. Won't let me select an executable to debug. I also have a clue on how one might get lldb working. Kate uses a dap standard similar to lsp for working with debuggers. lldb has a dap server called lldb-vscode, which is a part of llvm, which I already have installed. No clue how to work with the dap.json configuration to add it as an available debugger, tho. That's where I'm stuck, right now.

Update2: Got gdb working. Just had to use a full path, meaning /Users/lcouturi/.brew/bin/gdb instead of ~/.brew/bin/gdb

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago

Never tried to run it on MacOS. I use it on windows, but none of those features. Nonetheless, it's my favourite editor and I hope you find what you need.