New topic: 

Program seems to be getting Lost [SOLVED]

<http://forums.realsoftware.com/viewtopic.php?t=47554>

         Page 1 of 1
   [ 5 posts ]                 Previous topic | Next topic          Author  
Message        DaveS          Post subject: Program seems to be getting Lost 
[SOLVED]Posted: Wed Apr 10, 2013 9:56 am                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4737
Location: San Diego, CA                I am working on an app, and all was 
going well..... 
then all of a sudden.... it goes into some kind of infinite loop.

I have put a Breakpoint at the beginning of EVERY event/method/function 

It breaks at APP.OPEN..... then goes into "EVENT LOOP".... it NEVER seems to 
call WINDOW1.OPEN (or any other WINDOW1 event)...

How can I figure out where it is going out to lunch?      
_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind      

    Last edited by DaveS on Wed Apr 10, 2013 10:24 am, edited 1 time in total.  
 
                             Top                DaveS          Post subject: 
Re: Program seems to be getting LostPosted: Wed Apr 10, 2013 10:12 am           
                      
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4737
Location: San Diego, CA                Seems the PAINT event of one of the 
controls got "stuck".....
by passing it... caused the program to start.... albeit without that control 
displaying properly.      
_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                Bob Keeney          Post 
subject: Re: Program seems to be getting Lost [SOLVED]Posted: Wed Apr 10, 2013 
10:43 am                                 
Joined: Fri Sep 30, 2005 11:48 am
Posts: 3491
Location: Lenexa, KS                Could you have been calling a Refresh in 
the Paint event?  That could cause it go into an infinite loop.      
_________________
Bob K.

Real Word Processing for your Real Studio Applications with Formatted Text 
Control
http://www.bkeeney.com/formatted-text-control/  
                             Top                DaveS          Post subject: 
Re: Program seems to be getting Lost [SOLVED]Posted: Wed Apr 10, 2013 10:53 am  
                               
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4737
Location: San Diego, CA                No.... not sure what happened.... but I 
had a DO/Loop the was supposed to be incrementing a counter (it was drawing a 
Ruler).... somehow the interval became 0.... so it never completed.      
_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                IIGS_User          Post 
subject: Re: Program seems to be getting Lost [SOLVED]Posted: Thu Apr 11, 2013 
9:52 am                                 
Joined: Tue Oct 24, 2006 3:38 am
Posts: 147
Location: Ger                Could you check with a boolean that is true while 
app.open fires?      
_________________
This is REALbasic 2011r3 on a MacBook Pro Late '10 ("MacBookPro6,2") with Mac 
OS X 10.8.3  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 5 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to