Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Jul 21, 2017 3:40 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: While and For loops randomly hang on Linux
PostPosted: Thu Aug 16, 2012 9:51 am 
Offline

Joined: Sun Mar 09, 2008 6:38 am
Posts: 44
Location: Oldenzaal, NL
Hi,

I try to run a Desktop application on a Linux desktop usgin remote debugger for testing.
It randomly hangs on While and For loops. It does not loop, it hangs on the statement itself.
Even a simple loop line this, hangs
For i as int32 = 0 to combobox1.listcount-1
msgbox combobox1.rowtag(i)
Next


On Mac and Windows it works perfectly. I use REALStudio 2011r43.

Anyone having the same problem of have a solution to this?


Top
 Profile  
Reply with quote  
 Post subject: Re: While and For loops randomly hang on Linux
PostPosted: Wed Aug 22, 2012 7:32 pm 
Offline
Site Admin
User avatar

Joined: Fri Sep 30, 2005 9:35 am
Posts: 987
Location: South Portland, Maine
What do you mean by hangs? Are you clicking the message box that displays on the Linux desktop?

_________________
Paul Lefebvre
Developer Evangelist
Xojo, Inc.


Top
 Profile  
Reply with quote  
 Post subject: Re: While and For loops randomly hang on Linux
PostPosted: Thu Aug 23, 2012 5:40 am 
Offline

Joined: Sun Mar 09, 2008 6:38 am
Posts: 44
Location: Oldenzaal, NL
The msgbox is an example. The code hangs on the for statement itself. It doesn't run the code inside the loop.


Top
 Profile  
Reply with quote  
 Post subject: Re: While and For loops randomly hang on Linux
PostPosted: Mon Aug 27, 2012 2:27 pm 
Offline
Site Admin
User avatar

Joined: Fri Sep 30, 2005 9:35 am
Posts: 987
Location: South Portland, Maine
I have never seen hanging behavior like this when remote debugging to Linux.

Does it do it if you run the IDE on Linux and debug there?

What version of Linux are you using?

_________________
Paul Lefebvre
Developer Evangelist
Xojo, Inc.


Top
 Profile  
Reply with quote  
 Post subject: Re: While and For loops randomly hang on Linux
PostPosted: Tue Aug 28, 2012 2:01 am 
Offline

Joined: Sun Mar 09, 2008 6:38 am
Posts: 44
Location: Oldenzaal, NL
I'm running a remote debug from Windows 7 (32-bit) on a CentOS 5.6 (32-bit) and the application built on Windows 7 and ran on a Ubuntu (any version) does the same.
A piece of code it hangs on:

for i=0 to (ipfield.listcount-1)  '' Here it hangs, it does not continue through the loop itself.
if ipfield.text = trim(ipfield.list(i)) then
functions.ip = ipfield.RowTag(i)
end
next

Sometimes it does continue and it hangs on another loop like
while not askdraad.done   '' Here it hangs, it does not continue through the loop itself.
diff=Microseconds-start

if diff > 500000 and diff < 1000000 then
'if not busywindow.geopend then
'busywindow.Show
'end
app.DoEvents 50
Elseif diff >=1000000 then
app.DoEvents 100
else
app.DoEvents 150
end
if askdraad.timedout then
exit
end
wend


Top
 Profile  
Reply with quote  
 Post subject: Re: While and For loops randomly hang on Linux
PostPosted: Tue Aug 28, 2012 8:53 am 
Offline
Site Admin
User avatar

Joined: Fri Sep 30, 2005 9:35 am
Posts: 987
Location: South Portland, Maine
At this point, I have no idea. Please create a Feedback case with an example project so that we can look into it.

_________________
Paul Lefebvre
Developer Evangelist
Xojo, Inc.


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

All times are UTC - 5 hours


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 © 2000, 2002, 2005, 2007 phpBB Group