It is currently Mon Nov 30, 2020 6:38 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Question about the compiler or debugger mode used.
PostPosted: Thu Oct 24, 2019 7:21 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jun 11, 2006 12:07 am
Posts: 585
Location: Near Hamburg
Hello fellows,

after a longer break for private reasons, I start a new project with PureBasic.

Now I noticed a small peculiarity. Nothing dramatic, but it irritates.

I installed several PB versions in parallel and each version also offers all compiler versions of the older PB installations in the compiler options.

Here for example the compilers list of the PB 5.71 x64 installation:
Image

In all PB versions all settings are absolutely identical, since I let them be synchronized with a shell script as soon as I change a setting.

I have now loaded a project template into my current PB 5.71 x64, which has been created under PB version 5.62. In PB 5.62 the compiler 5.71 didn't exist yet, so "use compiler 5.62" is shown in the project options, even if the project is loaded in PB version 5.71.

Image

If I start the project in PB 5.71, it is started surprisingly with the external debugger. However, in the settings of all my PB versions "Use internal debugger" is configured and in the project itself there is no explicit setting to use the internal or external debugger.

Image

Image

If I change the compiler to be used in the project compiler options then to 5.71 and 5.71 x64 (and make no other setting), then the project suddenly starts as expected with the internal debugger.

Why does selecting the compiler affect the debugger mode?

Kurzer

_________________
PB 5.72 x64, OS: Windows 7 Pro x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age: 52y
"Happiness is a pet." | "Never run a changing system!"


Top
 Profile  
Reply with quote  
 Post subject: Re: Question about the compiler or debugger mode used.
PostPosted: Thu Oct 24, 2019 8:54 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 5:21 pm
Posts: 5815
Location: Germany
The debugger version must match the compiler version to ensure there are no incompatibilities. The debugger in the IDE can only handle the compiler from the same PB version. If you select another PB compiler, the debugger is automatically switched to the standalone one so the debugger executable from the selected compiler's directory can be used and the versions match.

_________________
quidquid Latine dictum sit altum videtur


Top
 Profile  
Reply with quote  
 Post subject: Re: Question about the compiler or debugger mode used.
PostPosted: Thu Oct 24, 2019 9:02 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jun 11, 2006 12:07 am
Posts: 585
Location: Near Hamburg
Freak, thanks for clarify this. Image

_________________
PB 5.72 x64, OS: Windows 7 Pro x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age: 52y
"Happiness is a pet." | "Never run a changing system!"


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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:  

 


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