Thanks for the suggestion, but I was looking for a way to break an infinite 
loop after the code has started running.  I don't think I can make changes to 
the code after it has started running.

Even if I am using the debugger, the only way I know of for breaking out of an 
infinite loop is hard close all of Maptitude with the task manager.


--- In [email protected], [email protected] wrote:
>
> Hi:
> 
> 
> In general you could use "error handling" to try to catch such cases.
> There is a topic on the subject in the Online Help.
> 
> 
> Maptitude Mapping Software <http://www.caliper.com>   Group Moderator
> 
> 
> 
> --- In [email protected], "hobbsies2" <chobbs@> wrote:
> >
> >
> > I was actually looking for a solution for when I am testing new code
> that accidentally has an infinite loop.
> >
> > However, I didn't know about the progress bar feature.  I'll
> definitely look into adding that in for some of my longer code.
> >
> >
> > --- In [email protected], "dr_haspel" mhaspel@ wrote:
> > >
> > >
> > >
> > > Have you tried including a progress bar in the loop? The
> CreateProgressBar() command allows inclusion of a "cancel" button on the
> progress bar.
> > >
> > >
> > >
> > > --- In [email protected], "hobbsies2" <chobbs@> wrote:
> > > >
> > > > Does anyone know of a way to break out of the GISDK code while it
> is stuck in an infinite loop?  Currently I've been using the task
> manager to end the Maptitude process, but it would be nice if there was
> a way that did not involve closing out of Maptitude.
> > > >
> > > > Thanks,
> > > > Carrie
> > > >
> > >
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Maptitude/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/Maptitude/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to