FreeBasic IDE-poseidonFB(Update 2024.03.03)
Re: FreeBasic IDE-poseidonFB(Update 2017.07.17)
whoa @Kuan Hsu, You've made several nice changes in the latest versions :D
Some details
* the poseidonFB window requires at least a 1300x300 (approximately) window size.
you can check this on Windows with Sizer
i guess maybe you can fix this putting this info on left side from statusbar instead right side.
* Missed translation elements: Custom Tool(1),Custom Tool(2), ..., from Preference > Short Cut
* A feature that could be well in poseidonFB is the abbility to sort tabs manually.
Some details
* the poseidonFB window requires at least a 1300x300 (approximately) window size.
you can check this on Windows with Sizer
i guess maybe you can fix this putting this info on left side from statusbar instead right side.
* Missed translation elements: Custom Tool(1),Custom Tool(2), ..., from Preference > Short Cut
* A feature that could be well in poseidonFB is the abbility to sort tabs manually.
Re: FreeBasic IDE-poseidonFB(Update 2017.07.17)
(1)At rev.289, the least size(width) is about <1024 pixel( while function title size is 200 ), the smallest width is fit 1024x768, so I will not add the "sizer" contriller right now.c-sanchez wrote:whoa @Kuan Hsu, You've made several nice changes in the latest versions :D
Some details
* the poseidonFB window requires at least a 1300x300 (approximately) window size.
you can check this on Windows with Sizer
i guess maybe you can fix this putting this info on left side from statusbar instead right side.
* Missed translation elements: Custom Tool(1),Custom Tool(2), ..., from Preference > Short Cut
* A feature that could be well in poseidonFB is the abbility to sort tabs manually.
(2)Already fixed at rev.289
(3)IUP's IupTabs/IupFlatTabs seem not to support DnD right now, maybe I need get the mouse position that convert to the child POS of IupTabs/IupFlatTabs( see IUP source : iupflattabs.c ), but I need add the code and compile the IUP libs by myself, so......
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
Thanks @Kuan :)
umm i've noticed another small bug.
create a new file or open one, check tab text (file name) like NONAME#0.bas, then go to preferences and press ok, check again tab text.
even all opened or create files names aren't showed until next poseidonFB start.
umm i've noticed another small bug.
create a new file or open one, check tab text (file name) like NONAME#0.bas, then go to preferences and press ok, check again tab text.
even all opened or create files names aren't showed until next poseidonFB start.
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
The bug started from rev0.288( since IupFlatTabs instead of IupTabs ), I know how to correct itc-sanchez wrote:Thanks @Kuan :)
umm i've noticed another small bug.
create a new file or open one, check tab text (file name) like NONAME#0.bas, then go to preferences and press ok, check again tab text.
even all opened or create files names aren't showed until next poseidonFB start.
Thank for your reply~~
Updated at rev.290
-
- Posts: 4307
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
@ Yung-Kuan
We seem to entering a period of stability. Well done.
We have a 'Console / GUI' button and a '32 / 64 bit' button and an unused box on the right of them. I am guessing that you may be getting ready for a build options combo box along the lines of FbEdit.
If so then that would be terrific.
We seem to entering a period of stability. Well done.
We have a 'Console / GUI' button and a '32 / 64 bit' button and an unused box on the right of them. I am guessing that you may be getting ready for a build options combo box along the lines of FbEdit.
If so then that would be terrific.
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
Ha ha, not unused box, it's the function/sub/type block title box that show the current pos in which ones.deltarho[1859] wrote:@ Yung-Kuan
We seem to entering a period of stability. Well done.
We have a 'Console / GUI' button and a '32 / 64 bit' button and an unused box on the right of them. I am guessing that you may be getting ready for a build options combo box along the lines of FbEdit.
If so then that would be terrific.
The one file quick options settings on right-click the compile/quick run toolbar button^^
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
How to monitor a runtime error, compiling with the option -exx
(I am always using this option during development)
(I am always using this option during development)
- Rustic solution :
Launch your "program.exe" from a (prompt) command window, in order to display the runtime error message. - Using FBIde :
Referring to http://www.freebasic.net/forum/viewtopi ... 31#p121731, you can edit the run command menu and enter "cmd /c "<$file>" <$param> & pause", in order that IDE opens a command window, runs the program, and then waits for a keypress before closing. - Using FreeQ IDE:
You get automatically a pause (in the command window) after compiling + running with option "-exx", and also you can just select a check-box "Pause after execution" to pause after compile + run (without "-exx") - Using Geany :
Basically, the command "Execute" runs the executable file from a terminal window (shell script calling "cmd.exe" set per default in the menu "Edit/Preferences/Tools). - Using FBEdit :
Only the rustic solution : launching the executable file from a command window opened with menu "Tools/Command prompt". - Using poseidonFB :
???
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
Okk @Kuan Hsu, I continue with my bugs hunt hehe
* Enable Highlight Current Word, select any word, (better if the word is present several times on file), the word must be highlight, then now DISABLE Highlight Current Word and continue with file edit. The selected word still going highlighted :P
* Please Kuan, leave me a bit more space on Color menu from Preference window.
You are close to reaching poseidonFB V0.300 (and 700 more to reach v1.0, or maybe it will be something like V0.1001, V0.1002?, who knows.. haha)
well, the point is, i think could be cool if you save releases after V0.299 and then when you post the V0.300, show a build with more changes in only a (special) release. For that same, a "new" step :)
Regards.
* Enable Highlight Current Word, select any word, (better if the word is present several times on file), the word must be highlight, then now DISABLE Highlight Current Word and continue with file edit. The selected word still going highlighted :P
* Please Kuan, leave me a bit more space on Color menu from Preference window.
You are close to reaching poseidonFB V0.300 (and 700 more to reach v1.0, or maybe it will be something like V0.1001, V0.1002?, who knows.. haha)
well, the point is, i think could be cool if you save releases after V0.299 and then when you post the V0.300, show a build with more changes in only a (special) release. For that same, a "new" step :)
Regards.
-
- Posts: 4307
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
I hadn't noticed.<laugh>it's the function/sub/type block title box that show the current pos in which ones.
However, any Subs/Functions containing ASM blocks are not recognised as such and any Subs/Functions following are not recognised either and the latter get absorbed in the Sub/Function with the ASM, in the Outline.
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
Like below:(As sancho2's example)fxm wrote:How to monitor a runtime error, compiling with the option -exx
(I am always using this option during development)
[*]Using poseidonFB :
???
Single file:
(1)Right-click 'Quick Run', key in '-exx' then press 'OK'
(2)Open 'Preference', key in '-exx' on 'Compile Opts'
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
I can not display your image on my professional PC (prohibited site)!
But the problem is not only to compile with option -exx but to visualize the runtime error message when program crashes.
Example (compile with option -exx):
But the problem is not only to compile with option -exx but to visualize the runtime error message when program crashes.
Example (compile with option -exx):
Code: Select all
Redim As Integer array(1 To 1)
Print array(0)
Aborting due to runtime error 6 (out of bounds array access) at line 2 of D:\Use
rs\T0003830\Documents\Mes Outils Personnels\FBIde0.4.6r4_fbc1.06.0\FBIDETEMP.bas
::()
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
Welcome!c-sanchez wrote:Okk @Kuan Hsu, I continue with my bugs hunt hehe
Easy to fix, as usual next rev.c-sanchez wrote:* Enable Highlight Current Word, select any word, (better if the word is present several times on file), the word must be highlight, then now DISABLE Highlight Current Word and continue with file edit. The selected word still going highlighted :P
* Please Kuan, leave me a bit more space on Color menu from Preference window.
At V0.300, I will add a sign as V0.200 -----> \( ^∀^)/ haha....c-sanchez wrote:You are close to reaching poseidonFB V0.300 (and 700 more to reach v1.0, or maybe it will be something like V0.1001, V0.1002?, who knows.. haha)
well, the point is, i think could be cool if you save releases after V0.299 and then when you post the V0.300, show a build with more changes in only a (special) release. For that same, a "new" step :)
Regards.
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
Because I'm not familiar with Assembly, so I pass the 'Asm' keyword in parser automatically, haha...deltarho[1859] wrote:I hadn't noticed.<laugh>it's the function/sub/type block title box that show the current pos in which ones.
However, any Subs/Functions containing ASM blocks are not recognised as such and any Subs/Functions following are not recognised either and the latter get absorbed in the Sub/Function with the ASM, in the Outline.
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
l've got the point! poseidonFB's 'Run' and 'Quick Run' are create a thread to do and close, see if I can catch the error message and pause...fxm wrote:I can not display your image on my professional PC (prohibited site)!
But the problem is not only to compile with option -exx but to visualize the runtime error message when program crashes.
Example (compile with option -exx):Code: Select all
Redim As Integer array(1 To 1) Print array(0)
Aborting due to runtime error 6 (out of bounds array access) at line 2 of D:\Use
rs\T0003830\Documents\Mes Outils Personnels\FBIde0.4.6r4_fbc1.06.0\FBIDETEMP.bas
::()
I wrote a console launcher( usiing FB ) to get runtime error message, like:
Code: Select all
#if defined(__FB_WIN32__)
#include once "crt/stdlib.bi"
#endif
dim as string exeName, args
cls
if( __FB_ARGC__ >= 2 ) then
exeName = command(1)
for i as integer = 3 to __FB_ARGC__
args += ( " " + command(i-1) )
next
dim as integer result = Exec( exeName, trim( args ) )
If result = -1 Then Print "Error running="; exeName
else
Print "Error Args aren't enough!"
end if
#if defined(__FB_WIN32__)
system_( "pause" )
#else
print( "Press Any Key To Continue...")
sleep
#endif
end
Last edited by Kuan Hsu on Jul 23, 2017 9:14, edited 3 times in total.
-
- Posts: 4307
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2017.07.20)
It has just dawned on me that the reason I thought that box was unused was because I did not have the parser turned on. I turned it on a few days ago and didn't spot it being used. Most of my 'stuff' has asm lurking somewhere. For large work I could always place and Subs/Functions with asm 'low down' in the code. However, I don't do much large work - I rarely go over 2,000 lines - so I may just turn it off again.Because I'm not familiar with Assembly, so I pass the 'Asm' keyword in parser automatically, haha...