[Github-comments] [geany-plugins] Debugger fails with "Error loading file" (#309)

Colomban Wendling notifications at xxxxx
Mon Feb 8 22:49:16 UTC 2016


> I have tried debugging a python script, (setting debug target to .py file and .pyc) - both gave me "Error laoding file" when I press the Start button
> 
> I then tried debugging a bash script (.sh) - same problem.

The debugger plugin currently only supports GDB as a backend, and GDB doesn't support those languages.  AFAIK, it only supports compiled languages, including Ada, C, C++, Objective-C, Pascal and a few others.

> Then I downloaded a sample .c source file, compiled it and tried to debug it - same problem.

Odd.  It would be interesting to know exactly what program you tried and how you built it and tried it.

> Is there any way I can get a decent stack trace of what caused the "Error loading file"?

You could run Geany under a debugger (like GDB) and stop it when the dialog appears, and then get the backtrace.  Not quite sure how it would help though, it's probably "just" GDB that is refusing your file for some reason (probably unrecognized format).

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/309#issuecomment-181607011
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160208/0d7b9f86/attachment.html>


More information about the Github-comments mailing list