RE: Debug interface?

"Marc Dostie" <mdos-b/[email protected]>
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
Hi Pat:

I have posted on this issue in the past, and would be interested
in aiding in or implementing this support. Is the 1.3 code's
AST processing loop similiar to the 2.0 code, or are we just
considering 2.0+ here?

Thanks.

-Marc


-----Original Message-----
From: beanshell-developers-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:beanshell-developers-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]On Behalf Of
Pat
Sent: Friday, February 20, 2004 10:36 AM
To: Philip Mulrane; 'beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org'
Subject: Re: [Beanshell-dev] Debug interface?


On Fri, Feb 20, 2004 at 01:01:19PM +0200, Philip Mulrane wrote:
> Hi,
> <<newby alert, new to bean shell, newish to Java, experienced (15 years or
> so) C/C++ developer>>
> I've just inherited someone else's project here, and he used beanshell to
> add scripting facilities to our main app. I now have the task of extending
> this, and one requirement is a 'debug mode' to allow debugging of the
> scripts, nothing too fancy, breakpoints, inspect variables, single step
> through code. I have been unable to find any 'hooks' in beanshell for
adding
> such facilities, such as found in typical REXX implementations. Do you
guys
> have any pointers for me?

I'm afraid there aren't currently any hooks to support those operations.
But
any or all of those things would be easy to add.

The main interpreter loop reads "Line" constructs (ASTs) and executes them.
So you could do arbitrary stuff in that loop.

The namespace which holds variables and methods is pretty well documented.

I'd be happy to help if you want to get involved in adding these features.

Else we will get them done eventually, but I'm not sure when.


thanks,
Pat


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Beanshell-developers mailing list
Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/beanshell-developers



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.