Clicking the run button again kills the program first

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Clicking the run button again kills the program first

Post by Trond »

When a program is stuck on an ERROR (non-recoverable) and can only be killed, make the "compile and run" button kill the stuck program first instead of asking to start the external debugger.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Agreed!
I like logic, hence I dislike humans but love computers.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

and how should the IDE know if the prog is stuck?
how to decide if you want to restart or debug two instances?
oh... and have a nice day.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Perhaps a third button?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Kaeru Gaman wrote:and how should the IDE know if the prog is stuck?
What do you mean? If the program is stopped on an ERROR it can never be continued. So it is "stuck".
how to decide if you want to restart or debug two instances?
Select the external debugger first?
Post Reply