rohanrhu / gdb-frontend

☕ GDBFrontend is an easy, flexible and extensible gui debugger.
https://oguzhaneroglu.com/projects/gdb-frontend/
GNU General Public License v3.0
2.83k stars 101 forks source link

Will not open the executable #23

Closed MReed1959 closed 3 years ago

MReed1959 commented 3 years ago

I have a program, compiled in the Windows 10 Linux shell. When I navigate to the executable I get this error: "Path not found." The 'Sources' frame on the left side opens all the correct directories, the file browser shows the executable. It would also be nice if I could specify the executable on the command line.

rohanrhu commented 3 years ago

Hi,

Can you explain what steps did you follow exactly? You can use GDB's file /path/to/executable command on GDB shell in addition to GUI.

Screenshots would be better.

MReed1959 commented 3 years ago

https://user-images.githubusercontent.com/31863225/103818376-0a82e400-502e-11eb-9f84-01c090a5b6fe.mp4

rohanrhu commented 3 years ago

2021-01-06-14-35-00.c.mp4

If you want to load an executable, you must use "Load Executable" button on top. The button placed on Sources tab is for opening additional source files.

Also, you might want to use GDB shell so you can open it as http://127.0.0.1:5551/terminal/.

MReed1959 commented 3 years ago

Ok, thanks! I'll try that.

On Wed, Jan 6, 2021 at 4:00 PM Oğuzhan Eroğlu notifications@github.com wrote:

2021-01-06-14-35-00.c.mp4

If you want to load an executable, you must use "Load Executable" button on top. The button placed on Sources tab is for opening additional source files.

Also, you might want to use GDB shell so you can open it as http://127.0.0.1:5551/terminal/.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rohanrhu/gdb-frontend/issues/23#issuecomment-755739176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTDDOI6MPTBH5NAF72R3FTSYTMN7ANCNFSM4VWLMRQQ .

MReed1959 commented 3 years ago

When I go to "http://127.0.0.1:5551/terminal" I get a "This path not found." page. It only works when I use the "http://127.0.0.1:5551" URL

BUT - I just found the bug!

Thanks SO MUCH!

On Wed, Jan 6, 2021 at 4:18 PM Matthew Reed matthewreed1959@gmail.com wrote:

Ok, thanks! I'll try that.

On Wed, Jan 6, 2021 at 4:00 PM Oğuzhan Eroğlu notifications@github.com wrote:

2021-01-06-14-35-00.c.mp4

If you want to load an executable, you must use "Load Executable" button on top. The button placed on Sources tab is for opening additional source files.

Also, you might want to use GDB shell so you can open it as http://127.0.0.1:5551/terminal/.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rohanrhu/gdb-frontend/issues/23#issuecomment-755739176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTDDOI6MPTBH5NAF72R3FTSYTMN7ANCNFSM4VWLMRQQ .

rohanrhu commented 3 years ago

Path should be "/terminal/" there is a last "/" at the end.

MReed1959 commented 3 years ago

Oh! Ok. Thanks again!

On Wed, Jan 6, 2021 at 4:36 PM Oğuzhan Eroğlu notifications@github.com wrote:

Path should be "/terminal/" there is a last "/" at the end.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rohanrhu/gdb-frontend/issues/23#issuecomment-755757782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTDDOL6ZMSY6GRB6KWBGRLSYTQIFANCNFSM4VWLMRQQ .