Re: Interrupting a beanshell script in JConsole

"David A. Lee" <[email protected]> Mon, 20 Jul 2009 17:52:24 -0400
Newsgroups gmane.comp.java.beanshell.user
Message-ID <[email protected]>
Close the console window ?

David A. Lee
[email protected]  
http://www.calldei.com
http://www.xmlsh.org
812-482-5224



Jean-Philippe Daigle wrote:
> Say you're running a loop in a beanshell script, like this:
>
> while(true){ print("uh-oh!"); };
>
> The above will run forever and I haven't found a way to interrupt it.
> I've tried:
> * ctrl+c
> * pause key
> * break key
> * ctrl+break
>
> Is there any way to interrupt a loop running in a JConsole?
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Beanshell-users mailing list
> Beanshell-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/beanshell-users
>   

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge