GUI based debugger for FreeBasic?

Windows specific questions.
Post Reply
softfoot
Posts: 34
Joined: Aug 31, 2020 3:45

GUI based debugger for FreeBasic?

Post by softfoot »

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
demosthenesk
Posts: 237
Joined: Jul 15, 2021 7:23
Location: Greece
Contact:

Re: GUI based debugger for FreeBasic?

Post by demosthenesk »

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
demosthenesk
Posts: 237
Joined: Jul 15, 2021 7:23
Location: Greece
Contact:

Re: GUI based debugger for FreeBasic?

Post by demosthenesk »

SARG
Posts: 1757
Joined: May 27, 2005 7:15
Location: FRANCE

Re: GUI based debugger for FreeBasic?

Post by SARG »

@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.
softfoot
Posts: 34
Joined: Aug 31, 2020 3:45

Re: GUI based debugger for FreeBasic?

Post by softfoot »

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
SARG
Posts: 1757
Joined: May 27, 2005 7:15
Location: FRANCE

Re: GUI based debugger for FreeBasic?

Post by SARG »

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.
softfoot
Posts: 34
Joined: Aug 31, 2020 3:45

Re: GUI based debugger for FreeBasic?

Post by softfoot »

A clear case of RTM ! Sorry
Dave
Post Reply