Debugger: "Kill program" doesn't seem to work

Post bugs related to the IDE here
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 560
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Debugger: "Kill program" doesn't seem to work

Post by Sicro »

Under Windows, the program will stop immediately.

On Linux, the program continues stubborn. To force the program via the system monitor to terminate, it takes some time until the PB IDE displays the error message: "The debugged executable quit unexpectedly."

Test code:

Code: Select all

Repeat
  Debug ""
ForEver
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 544
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Re: Debugger: "Kill program" doesn't seem to work

Post by bbanelli »

Can't reproduce it on Lubuntu 15.10 x86/x64, PB 5.41LTS.
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 560
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Re: Debugger: "Kill program" doesn't seem to work

Post by Sicro »

I have now found out what triggers this behavior:
File >> Preferences >> Debugger >> Individual Settings >> Display debug output in the error log
If I turn off this setting, all is well.

Tested on
- Linux Mint Cinnamon 64-Bit
- Linux Mint Mate 64-Bit
with PB 5.42 Beta 5
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Debugger: "Kill program" doesn't seem to work

Post by Fred »

Seems to work here (on Linux), can anybody else confirm ?
Post Reply