Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-11-06 Thread crybaby
By the way Karen, thanks for the help. joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group,

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-11-06 Thread crybaby
Before I was using pydev 1.2.5 with eclipse 3.2 with mylar. Now I just upgraded to eclipse 3.3 and pydev 1.3.10. Debugger is working, now I can click on classes, it just takes me there. If try to install pydev 1.3.10 from eclipse install manager, then you will get mylar package error. Just

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-11-05 Thread Karen Tracey
On 11/5/07, crybaby <[EMAIL PROTECTED]> wrote: > > > My variable view window doesn't show anything. All I get in the > Variable View is:: > > Global: > error > > error > > I set the break points, but nothing showing up in Variable window in > debugger perspective except "Global error error". > >

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-11-05 Thread crybaby
My variable view window doesn't show anything. All I get in the Variable View is:: Global: error error I set the break points, but nothing showing up in Variable window in debugger perspective except "Global error error". Any suggestions? When I start the dev server inside eclipse under

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-11-05 Thread Leo
Just so this is entered in the thread: I have a very similar problem in Komodo (the ActiveState IDE). I use the noreload option, and breakpoints in "my code" (i.e., applications I wrote) are reliable, but breakpoints in Django itself usually don't work. It's not quite 100% repeatable,

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-11-04 Thread Karen Tracey
On 11/3/07, crybaby <[EMAIL PROTECTED]> wrote: > > > Breakpoint works if you set it and run in debug mode (click the bug > button, not the play button), don't run it in run mode and expect > breakpoint to work. That's what I was doing. > > Now I have one more problem: > > I have selected a form

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-11-03 Thread crybaby
Breakpoint works if you set it and run in debug mode (click the bug button, not the play button), don't run it in run mode and expect breakpoint to work. That's what I was doing. Now I have one more problem: I have selected a form object and a variable to watch and set the breakpoints, but

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-11-03 Thread crybaby
I have the same problem, breakpoint is not working when you set it inside eclipse and call the urls from the browser. This is how I have my setup: c:c:\my_web_projects\mysite <- this folder contains the stuff like manage.py, settings, apps folder for each apps My breakpoint and watching

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-10-28 Thread Karen Tracey
Hmm, that's odd. I don't know what to say except the ever-infuriating worksforme. When it doesn't work it is almost invariably because I have changed code without restarting the server, so what I'm looking at and setting breakpoints on in the editor doesn't match what's running under the

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-10-28 Thread Divan Roulant
Thanks Karen, yes, I use --noreload to run manage.py inside Eclipse. I can trace as long as the code that is executed is from manage.py. If I use the browser to execute views, then no breakpoints are stopped at... On 27 oct, 18:57, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > I assume you are

Re: Is it possible to debug a view using breakpoints in Eclipse?

2007-10-27 Thread Karen Tracey
I assume you are using the development server to test -- have you included --noreload among the arguments to runserver when you run under Eclipse/PyDev? That's what you need in order for breakpoints to work. Karen On 10/27/07, Divan Roulant <[EMAIL PROTECTED]> wrote: > > > Hello, > > I would

Is it possible to debug a view using breakpoints in Eclipse?

2007-10-27 Thread Divan Roulant
Hello, I would like to debug a view and even though I set breakpoints in it, the debugger doesn't stop on them when the execution is required by the Web browser. I'm using Eclipse with PyDev and everything seems configured appropriately. Since I'm pretty new to Web dev, maybe there's something