[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Boa constructor debugging - exec some code at breakpoint?

Joel

1/6/2008 6:01:00 AM

Hey there..
I'm using boa constructor to debug a python application. For my
application, I need to insert break points and execute some piece of
code interactively through shell or someother window when the
breakpoint has been reached. Unfortunately the shell I think is a
seperate process so whatever variables are set while executing in
debugger dont appear in the shell when I try to print using print
statement.

Can anyone tell me how can I do this?

Really appreciate any support, Thanks

Joel
P.S. Please CC a copy of reply to my email ID if possible.
2 Answers

Joel

1/22/2008 7:23:00 AM

0

Can you please tell me how this can be done..
are there any other IDEs for the same purpose if Boa can't do it?

Joel

On Jan 6, 11:01 am, Joel <agnel.j...@gmail.com> wrote:
> Hey there..
> I'm using boa constructor to debug a python application. For my
> application, I need to insert break points and execute some piece of
> code interactively through shell or someother window when the
> breakpoint has been reached. Unfortunately the shell I think is a
> seperate process so whatever variables are set while executing in
> debugger dont appear in the shell when I try to print using print
> statement.
>
> Can anyone tell me how can I do this?
>
> Really appreciate any support, Thanks
>
> Joel
> P.S. Please CC a copy of reply to my email ID if possible.

Mike Driscoll

1/22/2008 5:04:00 PM

0

On Jan 22, 1:23 am, Joel <agnel.j...@gmail.com> wrote:
> Can you please tell me how this can be done..
> are there any other IDEs for the same purpose if Boa can't do it?
>
> Joel
>
> On Jan 6, 11:01 am, Joel <agnel.j...@gmail.com> wrote:
>
> > Hey there..
> > I'm using boa constructor to debug a python application. For my
> > application, I need to insert break points and execute some piece of
> > code interactively through shell or someother window when the
> > breakpoint has been reached. Unfortunately the shell I think is a
> > seperate process so whatever variables are set while executing in
> > debugger dont appear in the shell when I try to print using print
> > statement.
>
> > Can anyone tell me how can I do this?
>
> > Really appreciate any support, Thanks
>
> > Joel
> > P.S. Please CC a copy of reply to my email ID if possible.

IDLE does breakpoints...you might fine the ActiveState distro more to
your liking too. It's a little bit more fleshed out as an IDE than
IDLE is. Or you could go full blown and use Eclipse with the Python
plug-in.

Mike