Debugger unresponsive 5.20b8 x64

Linux specific forum
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Debugger unresponsive 5.20b8 x64

Post by idle »

Anyone else finding the integrated and stand alone debuggers, unresponsive or unusable?
Ubuntu 12.04 x64
Windows 11, Manjaro, Raspberry Pi OS
Image
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Debugger unresponsive 5.20b8 x64

Post by fsw »

Even with beta 9 while using 64 bit GTK3.
Using GTK2 the debugger doesn't crash.

GTK3 is totally unusable, even with the debugger switched off and the app runs... drag&drop is not working.
(as example)

Really hope Fred reconsiders calling beta 9 the final beta :?

The PureBasic IDE is unusable as well:
after ctrl-c (to copy text) the IDE tabs are unresponsive for a few seconds.
...and forget to do ctrl-v right after ctrl-c - you have to wait for a few seconds
(and this on a Linux machine that cold boots the complete OS in 6 seconds...)

The PureBasic IDE is the only app that does that, all the other installed apps work fine.

Suppose I have to stay with PB 5.11 then :x

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
skywalk
Addict
Addict
Posts: 4242
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Debugger unresponsive 5.20b8 x64

Post by skywalk »

Have you tried disabling the history functions in Preferences?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Debugger unresponsive 5.20b8 x64

Post by fsw »

skywalk wrote:Have you tried disabling the history functions in Preferences?
Yes, I tested it with "Session History" off.

Thank you.

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Debugger unresponsive 5.20b8 x64

Post by idle »

The odd thing, the debuggers and ide run fine in kde.
Windows 11, Manjaro, Raspberry Pi OS
Image
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Debugger unresponsive 5.20b8 x64

Post by fsw »

So, do you have the problem with gtk3 or with gtk2 as well?
idle wrote:The odd thing, the debuggers and ide run fine in kde.
I'm running XFCE...

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Debugger unresponsive 5.20b8 x64

Post by idle »

So are you saying its running fine in xfce?

Regardless of what the shell is I suspect the issue could probably be fixed by simply adding a time out
to WaitWindowEvent() in both the the ide and debuggers.
Windows 11, Manjaro, Raspberry Pi OS
Image
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Debugger unresponsive 5.20b8 x64

Post by LuCiFeR[SD] »

the debuggers in *nix have been unusable/broken for me for a long time.
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Debugger unresponsive 5.20b8 x64

Post by idle »

something like this should fix it

Code: Select all

  CompilerIf #PB_Compiler_OS = #PB_OS_Linux 
   #timeout = $DEAD / $BEEF * 30 
 CompilerElse  
   #timeout = -1 
  CompilerEndIf  

  Repeat 
   event = WaitWindowEvent(#timeout)
  Until event = #PB_Event_CloseWindow
Windows 11, Manjaro, Raspberry Pi OS
Image
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Debugger unresponsive 5.20b8 x64

Post by fsw »

idle wrote:So are you saying its running fine in xfce?
Nope.

What I'm saying is: I'm running XFCE-64 (Manjaro) and with subsystem gtk3 enabled I'm experiencing the same debugger crashes you do while compiling an app.
But while using the gtk2 subsystem all is fine, no debugger crashes.

You just told us that you are using Ubuntu 12.04 x64 and with KDE all is fine.
But we don't know if, while you (probably...) use gnome2, there are differences in crashing while using different subsystems (gtk2 or gtk3) for your compiled app...
So which subsystem crashes for you? gtk3? gtk2? both?
(in conjunction with the debugger...)

Ciao

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Debugger unresponsive 5.20b8 x64

Post by idle »

Think we're talking about slightly separate issues here.

I'm not experiencing any crash, just that the integrated and stand alone debuggers are unresponsive for at least 30 seconds
and are then to slow and sluggish to use. I was using the Unity desktop ubuntu 12.04 x64, Unity being forked from Gnome3

XFCE is Gnome2 based and doesn't appear to support gtk3 yet
http://wiki.xfce.org/releng/4.12/roadmap/gtk3
So that might possibly explain your crashes.
Windows 11, Manjaro, Raspberry Pi OS
Image
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Debugger unresponsive 5.20b8 x64

Post by fsw »

idle wrote:Think we're talking about slightly separate issues here.
Looks like it, as the only unresponsiveness I experience is with copy/paste.
(should have read your subject more precisely) :oops:
idle wrote:XFCE is Gnome2 based and doesn't appear to support gtk3 yet
http://wiki.xfce.org/releng/4.12/roadmap/gtk3
So that might possibly explain your crashes.
Don't think so, all needed gtk3 libs are loaded.
(no problems compiling gtk3 apps with other compilers) :)

I am to provide the public with beneficial shocks.
Alfred Hitshock
Post Reply