I have made some small investigations :)
and found that if we change in 199 line of compileapp.py
layer=filename+':'+function
to
layer=filename#+':'+function
everything is working
seems it is important that 'compile' function get as 'filename'
parameter real filename..


On Dec 6, 6:48 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> I have no clue. I did not change anything that affects the way
> controllers are handled.
>
> Massimo
>
> On Dec 6, 10:14 am, Oleg <[EMAIL PROTECTED]> wrote:
>
> > hm... the problem is still here :(
> > By the way.. it was only with controllers, not with models.
> > Breakpoints in models worked fine.
>
> > On Dec 6, 4:51 pm, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > > OK fixed in trunk,, I think. The latest web2py was caching models in
> > > RAM. I disabled (except on GAE) since the speedup was negligible and
> > > causes the above problem.
>
> > > On Dec 6, 8:22 am, Oleg <[EMAIL PROTECTED]> wrote:
>
> > > > Tried with different revisions.. This strange behaivour was introduced
> > > > with 498 revision..
>
> > > > On Dec 6, 3:13 pm, Oleg <[EMAIL PROTECTED]> wrote:
>
> > > > > made revert to 1.51.. it works again.
>
> > > > > On Dec 6, 3:08 pm, Oleg <[EMAIL PROTECTED]> wrote:
>
> > > > > > Strange... I have now the same problem with Wing IDE.
> > > > > > The breakpoints in model are working, but not in controllers... hm..
>
> > > > > > On Dec 5, 11:15 pm, billf <[EMAIL PROTECTED]> wrote:
>
> > > > > > > By not recognised, I mean that the debugger does not stop at the
> > > > > > > breakpoint.  If I list breakpoints it shows a breakpoint in the
> > > > > > > correct file at the correct line but execution does not stop 
> > > > > > > there!?
>
> > > > > > > I think the subversion plugin has screwed something up.  After a
> > > > > > > couple of hours trying to fix unsuccessfully it looks like 
> > > > > > > re-install
> > > > > > > eclipse and back to no subversion client.
>
> > > > > > > On Dec 5, 3:16 pm, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > what do you mean are not recognised? do you get errors?
> > > > > > > > if eclipse uses pdb you may need to import pdb in controller
>
> > > > > > > > On Dec 5, 6:35 am, billf <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > This may be the wrong place but I'm only using subversion to 
> > > > > > > > > get the
> > > > > > > > > web2py trunk so here goes.
>
> > > > > > > > > I'm using Eclipse (Ganymede) and have the PyDev plugin 
> > > > > > > > > installed.  I
> > > > > > > > > installed web2py and can create anything,debuganything - all 
> > > > > > > > > is
> > > > > > > > > fine.  I have used the CVS plugin with Python and Java - no 
> > > > > > > > > problem.
>
> > > > > > > > > I want to checkout the web2py trunk so I have installed the 
> > > > > > > > > Subversive
> > > > > > > > > plugin and checked out the trunk ok. I can run web2py 
> > > > > > > > > indebugmode
> > > > > > > > > and set breakpoints in web2py code.
>
> > > > > > > > > My problem is that breakpoints in code I write, e.g. a 
> > > > > > > > > controller, are
> > > > > > > > > not recognised.  This ha never been a problem before.  
> > > > > > > > > Processing just
> > > > > > > > > passes by breakpoints in my own code BUT stops at breakpoints 
> > > > > > > > > in
> > > > > > > > > web2py code.  If I "Step Return" (return to my controller) 
> > > > > > > > > then I can
> > > > > > > > > view my code/variables as normal but if I set a breakpoint on 
> > > > > > > > > the next
> > > > > > > > > line in my controller it is ignored.
>
> > > > > > > > > I am running on Windows at the moment.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to