bump

On Jul 13, 11:20 am, NickFranceschina <[email protected]>
wrote:
> thanks but this doesn't help me...
>   1) I'm using Wing
>   2) I'm trying to debug using GAE's dev_appserver.py
>
> Wing debugs fine if I use web2py's web server... but when run on GAE,
> Web2py has that extra code to cache files by key... and the path gets
> screwed up.  Are you debugging against GAE's dev_appserver.py?    I
> would venture a guess that if you were, you'd see the same problem??
>
> On Jul 12, 11:19 pm, Phyo Arkar <[email protected]> wrote:
>
>
>
> > In Pydev every debugging is working very well if you follow this web2py
> > slice by mr.freeze:www.web2pyslices.com/main/slices/take_slice/2
>
> > May be setting it up in Mercurial way as shown in above slice,  inside
> > WingIDE  can make Web2py debug well as whole server is run through IDE's
> > debugger. But i dont know if it supports Mercurial.
>
> > I dont use WingIDE (coz Pydev have better completions, current version works
> > almost all Completions in web2py ).
>
> > On Mon, Jul 12, 2010 at 9:48 PM, NickFranceschina <
>
> > [email protected]> wrote:
> > > after going back and forth a bit with WING support guys... it appears
> > > to be an issue with Web2py...
>
> > > on line 388 of compileapp.py there are two lines of code that only run
> > > on GAE... which essentially cache the compiled? code file using
> > > filename + ':' + key... where key is the function name.  this ccode
> > > object then gets executed with a path of (this is my test example):
>
> > >  "C:\SVNs\T4H\Buttrcup\www\applications\init\controllers
> > > \default.py:test"
>
> > > Since this is an invalid path, if there are any breakpoints set in the
> > > controller, Wing cannot hit them because it doesn't know where this
> > > file is.  If I comment out the GAE caching function, then Wing hits
> > > its breakpoints correctly.
>
> > > if this is not a bug, and there is some other configuration settings I
> > > should be doing in order to debug with Wing, would someone kindly
> > > inform me?
>
> > > Thank you much,
> > > -Nick Franceschina
>
> > > On Jul 2, 12:55 pm, NickFranceschina <[email protected]>
> > > wrote:
> > > > I've been using WingIDE pro for a while... love it... followed advice
> > > > to get it setup to work with Web2py and runs fine if I launch debugger
> > > > through web2py.py ... but if I launch it through dev_appserver.py then
> > > > the server runs and the app works and the breakpoints are hit for all
> > > > code except for the controller code because, apparently, it is called
> > > > via python "exec" method...
>
> > > > this works fine through web2py's web server... but not through
> > > > dev_appserver ... for me anyways....
>
> > > > What am I doing wrong?
>
> > > > Thank you!
> > > > -Nick Franceschina

Reply via email to