epasveer / seer

Seer - a gui frontend to gdb
GNU General Public License v3.0
2.09k stars 66 forks source link

No executable file specified. Use the "file" or "exec-file" command #146

Closed aseques closed 1 year ago

aseques commented 1 year ago

Hi, sorry if it's a totally newbie question, I am trying to debug an issue with vmware-view (downloaded from here), after compiling from HEAD and installing on my system (ubuntu 22.04) without issues, I am trying to debug the binary by launching from cli with:

seergdb /usr/bin/vmware-view

Seer opens fine with the main screen indicating it picked up the executable at /usr/bin/vmware-view, but when I press the run it just throws the error message in the subject, and doesn't do anything else.

It might be something obvious but I haven't been able to figure it.

It might be or not that the executable at /usr/bin/vmware-view is a wrapper script (not a compiled binary)

aseques commented 1 year ago

I am just replying myself, since the wrapper is lauched via bash the main executable should have been that one. Changing the prompt to: seergdb /bin/bash /usr/bin/vmware-view

Just makes it work as expected

epasveer commented 1 year ago

Glad to hear it works.