[Boa Constr] no stop at breakpoint
Status: Beta
Brought to you by:
riaan
From: Groma G. <gr...@nu...> - 2002-06-19 08:12:11
|
Using Python-2.2, wxPython-2.3.3pre4 and BOA from CVS (May 30) I found that= the Debugger does not stop at a breakpoint if it is set in a file other th= an what it started from. It is illustrated below by a package 'example' con= taining files example1, example2 and an empty __init__. Setting the breakpo= int at self.Show() does not stop the Debugger. It works fine if the same co= de is in a single file.=0D =0D Any idea?=0D =0D =0D from wxPython.wx import *=0D from example import example2 =0D =0D ##contents of example1:=0D =0D class App(wxApp):=0D def __init__(self, redirect=3D0, filename=3DNone):=0D wxApp.__init__(self, redirect, filename)=0D =0D =0D def OnInit(self):=0D frame =3D example2.TestFrame()=0D self.SetTopWindow(frame)=0D return true=0D =0D app =3D App(1)=0D app.MainLoop()=0D =0D =0D =0D ##contents of example2:=0D =0D from wxPython.wx import *=0D =0D class TestFrame(wxFrame):=0D def __init__(self):=0D wxFrame.__init__(self, None, -1, 'test',=0D style=3DwxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON= _RESIZE)=0D self.Show() =0D =0D =0D Regards,=0D Geza Groma __________________________________ This mail was sent through BRCNet WebAccess |