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
debug plugin doesn't work on my Mac #1019
Comments
What actually "doesn't work", clearly from your screenshot the plugin runs? Did you try something debuggerish, like setting a breakpoint and running the program to see if it stops? |
I don't use the debugger plugin, but I'd guess that the buttons are not available because the debugger isn't running, try the lower right button. |
It's possible those icons are like that because your icon theme doesn't have the icons the Debugger plugin uses. You might try changing icon themes to some robust one like perhaps the default icon theme of your desktop environment. |
Not like that actually. The "Run" button just doesn't work. |
@JustinCao86 just to confirm, do you have GDB installed? If so, maybe try putting |
|
Just because it is in your path in a terminal doesn't mean its in the path inherited by Geany. If started from menus it may not read the same shell startup files. |
that's right, and I also tried this, I made a link to ensure gdb could be run from /usr/local/bin, and maybe, as what you said, there are some tricks about this "inherited" path used by Geany? |
do you fix it? |
As screenshot shown above, all the debug buttons are NOT available.
I just downloaded geany-1.36_osx-2.dmg from official website, and my Mac version is 10.15.7 Catalina.
I also have GDB 9.2 installed from MacPorts at /opt/local/bin, codesigned, working fine from terminal.
Here's the Debug Messages:
`
10:40:43: Geany INFO : Geany 1.36, C
10:40:43: Geany INFO : GTK 3.24.14, GLib 2.62.4
10:40:43: Geany INFO : System data dir: /Applications/Geany.app/Contents/Resources/share/geany
10:40:43: Geany INFO : User config dir: /Users/Justin/.config/geany
10:40:43: GLib-GIO DEBUG : _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
10:40:44: Geany INFO : Loaded GTK+ CSS theme '/Applications/Geany.app/Contents/Resources/share/geany/geany.css'
10:40:44: Geany INFO : Loaded GTK+ CSS theme '/Applications/Geany.app/Contents/Resources/share/geany/geany-3.20.css'
10:40:44: Geany INFO : System plugin path: /Applications/Geany.app/Contents/Resources/lib/geany
10:40:44: Geany INFO : Added filetype Clojure (61).
10:40:44: Geany INFO : Added filetype Swift (62).
10:40:44: Geany INFO : Added filetype Graphviz (63).
10:40:44: Geany INFO : Added filetype Nim (64).
10:40:44: Geany INFO : Added filetype Arduino (65).
10:40:44: Geany INFO : Added filetype Genie (66).
10:40:44: Geany INFO : Added filetype Cython (67).
10:40:44: Geany INFO : Added filetype TypeScript (68).
10:40:44: Geany INFO : Added filetype Groovy (69).
10:40:44: Geany INFO : Added filetype Kotlin (70).
10:40:44: Geany INFO : Added filetype Scala (71).
10:40:44: Geany INFO : Added filetype JSON (72).
10:40:44: Geany INFO : Added filetype CUDA (73).
10:40:44: Geany INFO : Loaded libvte from /Applications/Geany.app/Contents/Resources/lib/libvte-2.91.0.dylib
10:40:44: Geany INFO : Loaded: /Applications/Geany.app/Contents/Resources/lib/geany/debugger.so (Debugger)
10:40:44: Geany INFO : /Users/Justin/projects/TestGeany/cgnew.f : F77 (UTF-8)
10:40:44: Geany INFO : /Users/Justin/projects/TestGeany/main.f90 : Fortran (UTF-8)
10:40:44: Geany INFO : /Users/Justin/projects/TestGeany/modParamt.f90 : Fortran (UTF-8)
10:40:51: GLib DEBUG : posix_spawn avoided (workdir specified) (fd close requested)
10:42:46: GLib DEBUG : posix_spawn avoided (automatic reaping requested) (fd close requested)
`
It would be appreciated if someone could point out why this plugin doesn't work, or maybe there's some trick settings I should do first?
The text was updated successfully, but these errors were encountered: