I'm looking thru this hint, Oleg, on Launchpad. You can too: open these in two tabs: Version 224 (with the change you point out introduced in 221) http://bazaar.launchpad.net/~mdipierro/web2py/devel/annotate/244?file_id=compileapp.py-20080629222958-hhdxylrn88oe0xku-29 Version 219 (this file before the change you point out) http://bazaar.launchpad.net/~mdipierro/web2py/devel/annotate/219?start_revid=244&filter_file_id=compileapp.py-20080629222958-hhdxylrn88oe0xku-29&file_id=compileapp.py-20080629222958-hhdxylrn88oe0xku-29
So - we're looking at run_controller_in().... In #219, the equivalent code is around line 176. As you can see, the assignment to "layer" is the same; it has only changed from in-call to ahead (with no intervening changes to it's constituents) - to accommodate handling GAE (#219: line 202: code=getcfs(....) ) So it would appear that the affecting change must be in restricted.py::restricted().... I have to run off now, but hopefully someone can pick up on this code inspection, and see if you can spot the problem. Have LOTS of FUN! Kind regards, Yarko On Sat, Dec 6, 2008 at 12:45 PM, Oleg <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---

