jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Moderator: gnozal
64bit ?
No, good old vanilla 32 bit stuff at present.
(I have looked into moving the preferences onto our server, which has a clever history feature... that would allow me to scroll back through the last several versions; but sadly it is not as easy as I thought; and does not solve the real problem.)
No, good old vanilla 32 bit stuff at present.
(I have looked into moving the preferences onto our server, which has a clever history feature... that would allow me to scroll back through the last several versions; but sadly it is not as easy as I thought; and does not solve the real problem.)
-
- Enthusiast
- Posts: 468
- Joined: Sat Dec 20, 2003 6:19 pm
- Location: Switzerland
Hi Gnozal
I'm using jaPBe 3.7.1.612 and just had the problem again, that all preferences
were lost.
What I can tell:
- There is sometimes a problem with options messing up and getting lost,
for example two days ago I just had to reenable "Automatisches Einrücken"
without doing anything, it just got lost.
- The log-window at the bottom simply doesn't save its size in about 60%
of all jaPBe starts. Don't know why. It will simply be set to a size of 0.
Now the preferences-lost:
- I think I had jaPBe opened when Windows just thought, that it needs to
restart (this countdown after automatic updates..), I wasn't at the PC
that time so it just rebooted
- So after the reboot I just started jaPBe and everything is set to default.
The preferences file looks like this:
Edit: Just saw that the Backup-Dir and Default-Dir were preserved

I'm using jaPBe 3.7.1.612 and just had the problem again, that all preferences
were lost.
What I can tell:
- There is sometimes a problem with options messing up and getting lost,
for example two days ago I just had to reenable "Automatisches Einrücken"
without doing anything, it just got lost.
- The log-window at the bottom simply doesn't save its size in about 60%
of all jaPBe starts. Don't know why. It will simply be set to a size of 0.
Now the preferences-lost:
- I think I had jaPBe opened when Windows just thought, that it needs to
restart (this countdown after automatic updates..), I wasn't at the PC
that time so it just rebooted

- So after the reboot I just started jaPBe and everything is set to default.
The preferences file looks like this:
I think that's all I can tell you about it. Hope you'll find the problem.jaPBe.pref wrote:[Test]
[TimeOut]
Compiler = 10000
StructureViewer = 500
[General]
Version = 3.7.1.612
ExtractConstantsFromResidents = 1
UseSDK = 1
UseSDK-MSDN = 0
CompleteBookmark = 0
AlphabeticBookmark = 0
PureBasicPath = C:\Dokumente und Einstellungen\Remi\Desktop\Programmieren\PureBasic\PureBasic\
DefaultDirectory = C:\Dokumente und Einstellungen\Remi\Desktop\Programmieren\PureBasic\Projects\
Language = Deutsch
ExecuteURLifCTRLClick = 1
ActivateProcedureToolTips = 1
FindDefinitionHotspotsActivate = 0
HelpHotspotsActivate = 0
HelpHotspotsActivate_Constant = 1
HelpHotspotsActivate_Variable = 1
HelpHotspotsActivate_Structure = 1
HelpHotspotsActivate_PBProcedure = 1
HelpHotspotsActivate_KeyCommand = 1
URLHotspotTextActivate = 1
URLHotspotCommentActivate = 1
URLHotspotAlwaysVisible = 1
UseCustomSyntaxAndFolding = 0
BackupDirectory = C:\Dokumente und Einstellungen\Remi\Desktop\Programmieren\PureBasic\Projects\Backups\
AutoLoad = *
RunOne = 1
RedrawCompleteWindow = 0
InfoPanelDelay = 200
IncludeShowAll = 0
AutoReloadLast = 1
AutoCreateEnd = 1
LoadOnlyOne = 1
DoSynchList = 1
StructureViewerIncludeTypes = 0
FindNextBack = 1
DoPlayExecuteCreated = 1
PlayExecuteCreated = ExecuteCreated.wav
AutoSave = 0
AutoSaveCount = 30
SourceAddNullByte = 1
[Position]
Edit: Just saw that the Backup-Dir and Default-Dir were preserved


Athlon64 3700+, 1024MB Ram, Radeon X1600
same problem here, i have unchecked many defines, but always 1 in the
preferences, jaPBe load all defines, this slow the IDE down.
preferences, jaPBe load all defines, this slow the IDE down.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

-
- Enthusiast
- Posts: 468
- Joined: Sat Dec 20, 2003 6:19 pm
- Location: Switzerland
Yeah, the defines also only are saved in about 30% of times.
And an addition:
I just copied an older jaPBe.pref while jaPBe was running. Restarted it
and again all default options! But the jaPBe.pref was untouched this time.
The next restart did it.
Could it be that jaPBe sometimes chooses the wrong directory for searching
the jaPBe.pref and because it doesn't find it, just creates a default one,
but this time in the right directory?
Could this be a hidden bug in the preferences lib? I thought I heard about
similar problems with just the lib...
And an addition:
I just copied an older jaPBe.pref while jaPBe was running. Restarted it
and again all default options! But the jaPBe.pref was untouched this time.
The next restart did it.
Could it be that jaPBe sometimes chooses the wrong directory for searching
the jaPBe.pref and because it doesn't find it, just creates a default one,
but this time in the right directory?
Could this be a hidden bug in the preferences lib? I thought I heard about
similar problems with just the lib...
Athlon64 3700+, 1024MB Ram, Radeon X1600
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Strange, because the jaPBeForPB400.zip archive doesn't contain any jaPBe.pref nor jaPBe_Aliases.pref file, so it cannot be overwritten ?!Hurga wrote:Another - "a little bit annoying - "feature" of jaPBe is:
It deletes my saved Aliases-file, if I install a new version of jaPBe.
Ok, I will try to find what's wrong.remi_meier wrote:Yeah, the defines also only are saved in about 30% of times.
I didn't touch any code here, it's still GPI's code (except the new options). jaPBe sets the default directory when it starts (SetCurrentDirectory_()), and all the file names it uses are relative (i.e. without path), so if some other program changes the current directory, it could generate some problems ...remi_meier wrote:Could it be that jaPBe sometimes chooses the wrong directory for searching the jaPBe.pref and because it doesn't find it, just creates a default one, but this time in the right directory?
Did you search for 'jaPBe.pref' files in other directories of your drive(s) ?
Maybe if I set the default directory before each preferences save/load or use an absolute path the problem will be fixed ?
Could be, jaPBe uses this library.remi_meier wrote:Could this be a hidden bug in the preferences lib? I thought I heard about similar problems with just the lib...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update
Changes :
- fixed Definitions preferences not saved
- paths for Preferences are now absolute (and not relative to current directory)
Changes :
- fixed Definitions preferences not saved
- paths for Preferences are now absolute (and not relative to current directory)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- Enthusiast
- Posts: 468
- Joined: Sat Dec 20, 2003 6:19 pm
- Location: Switzerland
Hi Gnozal!
Thank you for your Editor!
I have problems with Project Options:
As soon I switch ON 'Enable inline ASM support'
Jabe crashs (hangs up) when quit requester with Ok!
Where do you store the Project Options?
What is the difference to preferences in file menu to project options?
It seems the purebasic editor stores the project options at the end of
project file (visible in Jabe)
Please give me a hint!
Ingo
Thank you for your Editor!
I have problems with Project Options:
As soon I switch ON 'Enable inline ASM support'
Jabe crashs (hangs up) when quit requester with Ok!
Where do you store the Project Options?
What is the difference to preferences in file menu to project options?
It seems the purebasic editor stores the project options at the end of
project file (visible in Jabe)
Please give me a hint!
Ingo
Ad Astra!
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Sorry, can't reproduce the problem. What are the exact steps ?In_Go wrote:I have problems with Project Options:
As soon I switch ON 'Enable inline ASM support'
Jabe crashs (hangs up) when quit requester with Ok!
Note that when you change the status of 'Enable inline ASM support', jaPBe will redo a syntax coloring for the entire file (this may take long, so it may look like jaPBe freezes).
I will try to reduce the coloring time...
The project options in the 'Preferences' dialog are default settings (when you create a new file).In_Go wrote:What is the difference to preferences in file menu to project options?
Where do you store the Project Options?
The project options in 'Project options' [F8] are the actual project options (for the current file).
The project options are saved at the end of the source (in jaPBe and PB IDE).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Hi Gnozal, thanks for fast respond!
It seems to work OK now!
I was impatiencly ..... should have wait longer for result.
My code is over 7000 lines long, that could be the problem,
Jabe normaly is very fast! (My excuse) this pause was abnorm.
Thank You, I like to work with Your editor
Ingo
It seems to work OK now!
I was impatiencly ..... should have wait longer for result.
My code is over 7000 lines long, that could be the problem,
Jabe normaly is very fast! (My excuse) this pause was abnorm.
Thank You, I like to work with Your editor
Ingo
Ad Astra!
Hi Gnozal,
In no way is this a complaint or criticism of the single most useful uitility available to Pure Basic users. I know that some users, including me, have experienced an occasional loss of the preferences data... so when I powered up this evening and noticed the window size was wrong, and the comments were the wrong colour I asked myself what might be useful to the author if he chooses to chase this bug... So...
1. I checked the date stamp on the jaPBe.pref file and it is exactly the time I shut down earlier.
2. The two projects I had loaded at shut down were loaded correctly.
3. The prefs file contents looks like this:
The jaPBe 'About' panel shows rev 3.7.5.362.
I could not think what else might be useful to note.
Best regards and thanks for your continued work on this first class editor.
RichardL
In no way is this a complaint or criticism of the single most useful uitility available to Pure Basic users. I know that some users, including me, have experienced an occasional loss of the preferences data... so when I powered up this evening and noticed the window size was wrong, and the comments were the wrong colour I asked myself what might be useful to the author if he chooses to chase this bug... So...
1. I checked the date stamp on the jaPBe.pref file and it is exactly the time I shut down earlier.
2. The two projects I had loaded at shut down were loaded correctly.
3. The prefs file contents looks like this:
Code: Select all
[Test]
[TimeOut]
Compiler = 10000
StructureViewer = 500
[General]
Version = 3.7.5.632
FoldFlags = 16
EnableAliases = 0
ExtractConstantsFromResidents = 0
UseSDK = 0
UseSDK-MSDN = 0
CompleteBookmark = 0
AlphabeticBookmark = 0
PureBasicPath = C:\Program Files\PureBasicRev4\
DefaultDirectory = C:\Program Files\PureBasic\Examples\
Language = English
ExecuteURLifCTRLClick = 0
ActivateProcedureToolTips = 0
FindDefinitionHotspotsActivate = 0
HelpHotspotsActivate = 0
HelpHotspotsActivate_Constant = 1
HelpHotspotsActivate_Variable = 1
HelpHotspotsActivate_Structure = 1
HelpHotspotsActivate_PBProcedure = 1
HelpHotspotsActivate_KeyCommand = 1
URLHotspotTextActivate = 1
URLHotspotCommentActivate = 1
URLHotspotAlwaysVisible = 1
UseCustomSyntaxAndFolding = 0
AutoLoad = *
RunOne = 1
RedrawCompleteWindow = 0
InfoPanelDelay = 200
IncludeShowAll = 0
AutoReloadLast = 1
AutoCreateEnd = 0
LoadOnlyOne = 1
DoSynchList = 1
StructureViewerIncludeTypes = 0
FindNextBack = 1
DoPlayExecuteCreated = 0
PlayExecuteCreated =
AutoSave = 0
AutoSaveCount = 30
SourceAddNullByte = 1
[Position]
I could not think what else might be useful to note.
Best regards and thanks for your continued work on this first class editor.
RichardL
hi gnozal,
just a little imperfection :
you know that if i doubleclick on a 'IncludeFile' command it open the included file in jaPBe.
but it doesn't works when using pb constants such as #PB_Compiler_Home :
just a little imperfection :
you know that if i doubleclick on a 'IncludeFile' command it open the included file in jaPBe.
but it doesn't works when using pb constants such as #PB_Compiler_Home :
Code: Select all
IncludeFile #PB_Compiler_Home + "includes/win32.pbi"
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer