FrontEnd GDB for freebasic
Re: FrontEnd GDB for freebasic
Edit: removed this post. It was a quote of my previous post. Don't know how it happened.
Last edited by TJF on Jan 03, 2022 8:28, edited 1 time in total.
Re: FrontEnd GDB for freebasic
Hi All
May thanks for your time to reply TJF.
I will try your suggestion and see if I can simplify my current method.
Regards
May thanks for your time to reply TJF.
I will try your suggestion and see if I can simplify my current method.
Regards
Re: FrontEnd GDB for freebasic
I already wrote @Dinosaur , that you need to specify full paths (not relative).
Perhaps it should be indicated like this:
%d/%e
instead of:
./%e
Perhaps it should be indicated like this:
%d/%e
instead of:
./%e
Re: FrontEnd GDB for freebasic
The command gets executed in the working directory (FT_01_WD).VANYA wrote:Perhaps it should be indicated like this:
%d/%e
Re: FrontEnd GDB for freebasic
Hi All
You guys are teasing me with statements that I cant formulate into a full command.
The start of the Command can be the location of Debug ie: /home/dinosaur/GDBFrontEnd/Debug
If I add to that
/home/dinosaur/Projects/CguiDeo/Main so the whole command becomes: /home/dinosaur/GDBFrontEnd/Debug /home/dinosaur/Projects/CguiDeo/Main
then the whole thing works, except I am now locked into one project folder and not the current folder (of whatever project)
I have tried slotting in the %d/%e but obviously not correctly.
Can someone please elaborate a bit more.
Regards
You guys are teasing me with statements that I cant formulate into a full command.
The start of the Command can be the location of Debug ie: /home/dinosaur/GDBFrontEnd/Debug
If I add to that
/home/dinosaur/Projects/CguiDeo/Main so the whole command becomes: /home/dinosaur/GDBFrontEnd/Debug /home/dinosaur/Projects/CguiDeo/Main
then the whole thing works, except I am now locked into one project folder and not the current folder (of whatever project)
I have tried slotting in the %d/%e but obviously not correctly.
Can someone please elaborate a bit more.
Regards
Re: FrontEnd GDB for freebasic
We're off-topic.
Please send both, the full command line and the working directory setting. And send the output from the compiler window (compiler tab in message window).Dinosaur wrote:I have tried slotting in the %d/%e but obviously not correctly.
Re: FrontEnd GDB for freebasic
I don't know how you are doing, but everything works fine for me:
I do not use GEANY for FB, but in this case I just tried to enter this data into the slot and everything worked right away. Maybe you should try the same suggested solution from TJF.
I do not use GEANY for FB, but in this case I just tried to enter this data into the slot and everything worked right away. Maybe you should try the same suggested solution from TJF.
Re: FrontEnd GDB for freebasic
HI All
I have edited the File Filetypes.freebasic with the following content.Then when I go to the Build/Debug Run the result is:
Regards
I have edited the File Filetypes.freebasic with the following content.
Code: Select all
[build-menu]
FT_00_LB=_Compile
FT_00_CM=fbc -v -gen gcc -g -exx -s gui -w all "%f"
FT_00_WD=%d/%e
FT_01_LB=Debug Compile
FT_01_CM=fbc -v -gen gcc -g -exx -s gui -w all "%f"
FT_01_WD=%d
NF_00_LB=Debug Run
NF_00_CM="/home/dinosaur/GDBFrontEnd ./%e"
NF_00_WD=%d
EX_00_LB=_Run
EX_00_CM="./%e"
EX_00_WD=%d
Code: Select all
"/home/dinosaur/GDBFrontEnd ./Main" (in directory: /home/dinosaur/Projects/CguiDemo)
/bin/sh: 1: /home/dinosaur/GDBFrontEnd ./Main: not found
Compilation failed.
Re: FrontEnd GDB for freebasic
@VANYA
There's no keyboard shortcut for the fourth slot in the make section -> only the 'build' menu can trigger that action.
Instead, when using the first slot the action can get triggered directly by a keyboard shortcut.
@Dinosaur
Your command in NF_00_CM doesn't build, it tries to start the debugger. You've to remove the ./ before the file name (or use the VANYA suggestion %e/%f and remove the %d from NF_00_WD).
There's no keyboard shortcut for the fourth slot in the make section -> only the 'build' menu can trigger that action.
Instead, when using the first slot the action can get triggered directly by a keyboard shortcut.
@Dinosaur
Your command in NF_00_CM doesn't build, it tries to start the debugger. You've to remove the ./ before the file name (or use the VANYA suggestion %e/%f and remove the %d from NF_00_WD).
Re: FrontEnd GDB for freebasic
Hi All
Ignoring what I did in the last post, I basically repeated what you did VANYA.
it looks like it is looking for the file in the wrong folder.
Regards
PS: Tell me when this is getting to far of Topic.
Ignoring what I did in the last post, I basically repeated what you did VANYA.
but I get the same result./home/dinosaur/GDBFrontEnd/Debug %d/%e
The top line states correctly where the Main file is, but then on the second line"/home/dinosaur/GDBFrontEnd ./Main" (in directory: /home/dinosaur/Projects/CguiDemo)
/bin/sh: 1: /home/dinosaur/GDBFrontEnd ./Main: not found
Compilation failed.
it looks like it is looking for the file in the wrong folder.
Regards
PS: Tell me when this is getting to far of Topic.
Re: FrontEnd GDB for freebasic
The command
did not produce the outputDinosaur wrote:Code: Select all
/home/dinosaur/GDBFrontEnd/Debug %d/%e
You're mixing up something.Dinosaur wrote:Code: Select all
"/home/dinosaur/GDBFrontEnd ./Main" (in directory: /home/dinosaur/Projects/CguiDemo)
Re: FrontEnd GDB for freebasic
Hi All
You were right, still had filetypes.freebasic filled in whilst trying the other.
All ok now.
Regards
You were right, still had filetypes.freebasic filled in whilst trying the other.
All ok now.
Regards
Re: FrontEnd GDB for freebasic
Hi VANYA
Sorry to bug you again, but there appears to be a problem with the 32 bit version.
I have everything running correctly in Mint 64 bit.
The Register Window appears when I click on the R button, but when I step it disappears.
This is similar to before, except this time when you press R again, the Register window does not re-appear.
Same problem if I compile, or use your supplied binary.
I have downloaded the latest for both the Debug and Window9, also placed the files in the "correct" folders.
I noticed that with the latest Debug download, bin folder only has a Debug executable.
Somehow I recall you provided libraries on earlier versions for 32bit & 64 bit ??
Regards
Sorry to bug you again, but there appears to be a problem with the 32 bit version.
I have everything running correctly in Mint 64 bit.
The Register Window appears when I click on the R button, but when I step it disappears.
This is similar to before, except this time when you press R again, the Register window does not re-appear.
Same problem if I compile, or use your supplied binary.
I have downloaded the latest for both the Debug and Window9, also placed the files in the "correct" folders.
I noticed that with the latest Debug download, bin folder only has a Debug executable.
Somehow I recall you provided libraries on earlier versions for 32bit & 64 bit ??
Regards
Re: FrontEnd GDB for freebasic
Are you sure you checked everything before writing this post? The source code for 64-bit / 32-bit is the same. Everything works for me correctly. I admit that some GTK function may behave incorrectly in some working environments, but you are unlikely to be using any little-used shell on linux. Remove everything completely (window9, debug) from your computer, then download everything again and check. Surely, you have done something wrong somewhere. And by the way, the Debug archive contains scintilla for different OS versions, you just looked bad.Dinosaur wrote:Hi VANYA
Sorry to bug you again, but there appears to be a problem with the 32 bit version.
I have everything running correctly in Mint 64 bit.
The Register Window appears when I click on the R button, but when I step it disappears.
This is similar to before, except this time when you press R again, the Register window does not re-appear.
Same problem if I compile, or use your supplied binary.
I have downloaded the latest for both the Debug and Window9, also placed the files in the "correct" folders.
I noticed that with the latest Debug download, bin folder only has a Debug executable.
Somehow I recall you provided libraries on earlier versions for 32bit & 64 bit ??
Regards
Re: FrontEnd GDB for freebasic
Hi VANYA
My wife always tells me to have a girly look.
I was aware of the separate folder for lin32 with linscintilla & liblexilla (you corrected me on that before) , but for some reason I thought there were others ??
You were right "AGAIN", there were other copies of libraries in places I did not go looking to delete.(from other apps ?)
Wouldn't it be wonderful if the basic directory structure in all Linux flavours adhered to a standard. (I am dreaming)
Anyway all good.
Regards
Something lost in translation?. You probably meant "you didn't look close enough" because for a Dinosaur I look pretty good :)you just looked bad.
My wife always tells me to have a girly look.
I was aware of the separate folder for lin32 with linscintilla & liblexilla (you corrected me on that before) , but for some reason I thought there were others ??
You were right "AGAIN", there were other copies of libraries in places I did not go looking to delete.(from other apps ?)
Wouldn't it be wonderful if the basic directory structure in all Linux flavours adhered to a standard. (I am dreaming)
Anyway all good.
Regards