I am very much a newbie to FreeBasic but with a strong software background.
Can someone please suggest a GUI front end to FB that also supports a GUI debugger?
I have found a few PosidonFB and the "PowerBasic" among them the latter is the closest to what I want but it seems a bit fragile.
I am trying very hard to avoid console GDB ...
Any advice welcome,
Dave
GUI based debugger for FreeBasic?
-
- Posts: 237
- Joined: Jul 15, 2021 7:23
- Location: Greece
- Contact:
Re: GUI based debugger for FreeBasic?
Welcome softfoot, you can see viewtopic.php?t=13935
But the hardcore way is to install MSYS2 gdb and mingw64/32 and use debug from the console.
By the way, i am on linux.
The gdb is very easy... see https://u.osu.edu/cstutorials/2018/09/2 ... ple-steps/ for tutorial
But the hardcore way is to install MSYS2 gdb and mingw64/32 and use debug from the console.
By the way, i am on linux.
The gdb is very easy... see https://u.osu.edu/cstutorials/2018/09/2 ... ple-steps/ for tutorial
-
- Posts: 237
- Joined: Jul 15, 2021 7:23
- Location: Greece
- Contact:
Re: GUI based debugger for FreeBasic?
There are many GDB GUIs
see https://sourceware.org/gdb/wiki/GDB%20Front%20Ends
see https://sourceware.org/gdb/wiki/GDB%20Front%20Ends
Re: GUI based debugger for FreeBasic?
@softfoot
You can look at fbdebugger last version : viewtopic.php?p=294491#p294491
GDB is not used all is made directly with OS's APIs.
For now the link is only for Windows but an equivalent version exists for Linux I have to prepare a zip file.
For GUI the W9 library by VANYA is used to code for Windows and Linux without too many changes.
You can look at fbdebugger last version : viewtopic.php?p=294491#p294491
GDB is not used all is made directly with OS's APIs.
For now the link is only for Windows but an equivalent version exists for Linux I have to prepare a zip file.
For GUI the W9 library by VANYA is used to code for Windows and Linux without too many changes.
Re: GUI based debugger for FreeBasic?
I tried that version on a debug exe produced by "WinFBE Suite (64-bit)" as a console app but it keeps complaining that -g needs to be specified.
Not sure if this is a problem with the debugger or the compiler. See attached.
Dave
https://www.dropbox.com/s/cy77sr5kasv61 ... 2.jpg?dl=0
https://www.dropbox.com/s/6mtty38e0srcl ... 9.jpg?dl=0
https://www.dropbox.com/s/ulqxz65dzra3l ... 5.jpg?dl=0
Not sure if this is a problem with the debugger or the compiler. See attached.
Dave
https://www.dropbox.com/s/cy77sr5kasv61 ... 2.jpg?dl=0
https://www.dropbox.com/s/6mtty38e0srcl ... 9.jpg?dl=0
https://www.dropbox.com/s/ulqxz65dzra3l ... 5.jpg?dl=0
Re: GUI based debugger for FreeBasic?
You need to select "compiler assembly backend -gen gas64" otherwise no correct debug data is added. The message in Linux version is clearer I have to complete the one for Windows version.....
- g is mandatory
- exx is not mandatory
One advice : read at least the first page of the doc In fact there are only 13 pages.
- g is mandatory
- exx is not mandatory
One advice : read at least the first page of the doc In fact there are only 13 pages.
Re: GUI based debugger for FreeBasic?
A clear case of RTM ! Sorry
Dave
Dave