It is currently Thu Nov 26, 2020 2:33 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: (PB 5.72 beta 2) Crashes regulary
PostPosted: Wed Mar 11, 2020 7:12 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Jun 23, 2014 1:18 pm
Posts: 217
Image

I'm not sure why. It happens sometimes in different projects


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 beta 2) Crashes regulary
PostPosted: Thu Mar 12, 2020 5:39 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14179
Location: France
Is it a regression ?


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 beta 2) Crashes regulary
PostPosted: Thu Mar 12, 2020 8:19 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Jun 23, 2014 1:18 pm
Posts: 217
I can work... it happens mostly after builds. So no corrupted files.


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 beta 2) Crashes regulary
PostPosted: Sat Mar 14, 2020 6:47 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 5:10 pm
Posts: 554
Location: Doubs - France
Confirm the crash Win10 PureBasic 5.72 LTS Beta 2 (Windows - x64)

Image

_________________
A+
Denis


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 beta 2) Crashes regulary
PostPosted: Sat Mar 14, 2020 7:13 am 
Offline
Addict
Addict

Joined: Thu Apr 18, 2019 8:17 am
Posts: 1085
If it's a regular crash, try it after moving your "PureBasic.prefs" file (in "%APPDATA%\PureBasic") somewhere else, so that the IDE starts with a fresh new one when you compile your app. Then report back if it still crashes.


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 beta 2) Crashes regulary
PostPosted: Sat Mar 14, 2020 9:23 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 5:10 pm
Posts: 554
Location: Doubs - France
Hi BarryG,

I use a launcher that defines a different path for each project used but always linked to the C:\Users\AppData\Roaming\PureBasic\ folder, each project has its own prefs files for example :

projet LexicalAnalyzer
C:\Users\user\AppData\Roaming\PureBasic\AnalyseurLexicalResources\Lexical_Analyzer_Resources.prefs

projet Gdi+
C:\Users\AppData\Roaming\PureBasic\GdiPlus\GdiPlus.prefs

The same for tool i.e. GdiPlus_Tools.prefs for Gdi+ etc.

Each prefs file is unique and is linked only to its own project.

But at least 2 projects crash and folders are different.

_________________
A+
Denis


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 beta 2) Crashes regulary
PostPosted: Sat Mar 14, 2020 10:29 am 
Offline
Addict
Addict

Joined: Thu Apr 18, 2019 8:17 am
Posts: 1085
Denis wrote:
Lexical_Analyzer_Resources.prefs
GdiPlus.prefs

Are you saying these are PureBasic IDE pref files? That's not what the IDE names them. I'm confused. So you're saying you're using a different IDE setup for every project?

There's nothing here that mentions how to change the IDE prefs file -> https://www.purebasic.com/documentation ... piler.html


Top
 Profile  
Reply with quote  
 Post subject: Re: (PB 5.72 beta 2) Crashes regulary
PostPosted: Sat Mar 14, 2020 10:57 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 5:10 pm
Posts: 554
Location: Doubs - France
BarryG wrote:
Denis wrote:
Lexical_Analyzer_Resources.prefs
GdiPlus.prefs
Are you saying these are PureBasic IDE pref files? That's not what the IDE names them. I'm confused. So you're saying you're using a different IDE setup for every project?

Yes, they are different PureBasic IDE Preference File .

BarryG wrote:
There's nothing here that mentions how to change the IDE prefs file -> https://www.purebasic.com/documentation ... piler.html

This link is for compiler, not IDE.
Take a look to help file with 'ide line command'

Sorry, here are command from french help file
Quote:
Options générales:
/VERSION affiche la version de l'IDE
/HELP ou /? affiche une description des arguments de la ligne de commande

/P <fichier Préférences> charge (et enregistre) la configuration à partir du fichier spécifié.
/T <fichier Modèle> charge (et enregistre) les modèles de code à partir du fichier spécifié.
/A <fichier outils> charge (et enregistre) la configuration des outils externes à partir du fichier spécifié.
/S <Chemin Source> change l'option "Répertoire principal" des préférences.
/E <Chemin Explorateur> démarre l'outil 'Explorateur' avec le chemin spécifié.
/L <Numéro ligne> déplace le curseur à la ligne indiquée (seulement dans le dernier fichier chargé).
/H <Base de données de l'Historique> le fichier à utiliser pour la base de données de l'historique de la session.
/NOEXT désactive l'association automatique des fichiers '.pb' dans la base de registre.
/LOCAL place tous les fichiers préférences dans le répertoire de PureBasic au lieu du répertoire personnel de l'utilisateur.
/PORTABLE combinaison de /LOCAL et de /NOEXT


In my launcher, it's done like this
Code:
Global Fichier_PB_AnalyseurLexicalResources_PureBasic.s = GetUserDirectory(#PB_Directory_ProgramData)+"PureBasic\AnalyseurLexicalResources\Analyseur_Lexical_Resources.prefs"
Global Fichier_PB_AnalyseurLexicalResources_Tools.s     = GetUserDirectory(#PB_Directory_ProgramData)+"PureBasic\AnalyseurLexicalResources\Analyseur_Lexical_Resources_Tools.prefs"


and in the main loop
Code:
                                          ;- _Analyseur Lexical
                                    ElseIf GetGadgetState(#OptionGadget_AnalyseurLexical)
                                          Sauvegarde_Fichier_Prefs(#OptionGadget_AnalyseurLexical)
                                          Projet$ = #DossierProjets + "AnalyseurLexicalResources.pbp"
                                          Params$  = "/P " + Fichier_PB_AnalyseurLexicalResources_PureBasic
                                          Params$  + " /A " + Fichier_PB_AnalyseurLexicalResources_Tools
                                          RepertoireCourant$  = GetPathPart(IDE$)
                                          RunProgram(IDE$, Projet$ + " " + Params$, RepertoireCourant$)

_________________
A+
Denis


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye