Hmm, strange. I also do the same except the debugger doesn't stop. <br>Ok, I am using a 64 bit machine Fedore9. Will this make a difference?<br><br>- dksr<br><br><div class="gmail_quote">On Thu, May 21, 2009 at 11:47 AM, Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
maybe I did something wrong in order to reproduce the problem. Here is what I<br>
did.<br>
<br>
Test 1:<br>
1. open both files in eric4<br>
2. set a breakpoint at line 3 of apackage.py<br>
3. switch to aCallingfile.py (seems to be the main file)<br>
4. press F5<br>
5. execution stops at breakpoint<br>
<br>
Test 2:<br>
1. open both files in eric4<br>
2. set a breakpoint at line 3 of apackage.py<br>
3. switch to aCallingfile.py (seems to be the main file)<br>
4. set a breakpoint at line 3 of aCallingfile.py<br>
5. press F5<br>
6. execution stops at breakpoint in aCallingfile.py<br>
7. press F6 (continue)<br>
8. execution stops at breakpoint in apackage.py<br>
9. press F6 (continue)<br>
10. script exits correctly<br>
<br>
Regards,<br>
<font color="#888888">Detlev<br>
</font><div><div></div><div class="h5"><br>
On Donnerstag, 21. Mai 2009, Krishna Sandeep Reddy wrote:<br>
> I also have the same problem. It won't stop at the break point. It says<br>
> "aCallingfile.py" script terminated with an exit status of 0.<br>
> I have to do a single step to force the debugger go into it.<br>
> I also tried multithreaded option, but no use.<br>
><br>
><br>
> Cheers,<br>
> dksr<br>
><br>
> On Thu, May 21, 2009 at 10:21 AM, Detlev Offenbach<br>
> <<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
><br>
> > wrote:<br>
> ><br>
> > On Mittwoch, 20. Mai 2009, Jochen Deibele wrote:<br>
> > > Hi!<br>
> > ><br>
> > > Am Mittwoch, 20. Mai 2009 19:19:57 schrieb Detlev Offenbach:<br>
> > > > On Mittwoch, 20. Mai 2009, Jochen Deibele wrote:<br>
> > > > > I have to files one defining a class (apackage.py) and another<br>
> > > > > instantiating that class (aCallingfile.py). I put a breakpoint in<br>
> > > > > apackage.py (line 3), debug the script (F5) and the breakpoint<br>
> > > > > works.<br>
> ><br>
> > I<br>
> ><br>
> > > > > put a breakpoint in a method of the class (line 3) call the method<br>
> ><br>
> > from<br>
> ><br>
> > > > > aCallingfile, debug the script (F5) but the breakpoint is ignored.<br>
> > > > > Am<br>
> ><br>
> > I<br>
> ><br>
> > > > > doing something wrong?<br>
> > > > > I attached a testcase.<br>
> > > > ><br>
> > > > > I have also two files in a project and try debugging the project<br>
> > > > > with the same strange behaviour.<br>
> > > > ><br>
> > > > > I'm using eric 4.3.3 on linux.<br>
> > > > ><br>
> > > > > Does anybody experience the same? Any help is appreciated!<br>
> > > ><br>
> > > > Works for me.<br>
> > ><br>
> > > Well, sadly definitly still not for me.<br>
> > ><br>
> > > If it was unclear above: I want to break in a method of the class if I<br>
> > > debug the aCallingfile.py.<br>
> > > If I put a breakpoint in the class method in apackage.py and then start<br>
> > > debugging aCallingfile it<br>
> > > is happily executed, the output string is written to the prompt and I<br>
> > > get<br>
> ><br>
> > a<br>
> ><br>
> > > message that the script has finished with status 0 - but it doesn't<br>
> ><br>
> > break.<br>
> ><br>
> > > What could be wrong? Are there some preferences which I could try?<br>
> ><br>
> > There are no preferences that affect the breakpoint behavior. At the<br>
> > moment I<br>
> > have no clue about what could be wrong. As I already said, it works for<br>
> > me over here. This means, that I am not in a position to trace the<br>
> > problem.<br>
> ><br>
> > Has anybody else observed this behavior?<br>
> ><br>
> > Regards<br>
> > Detlev<br>
> > --<br>
> > Detlev Offenbach<br>
> > <a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
> > _______________________________________________<br>
> > Eric mailing list<br>
> > <a href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a><br>
> > <a href="http://www.riverbankcomputing.com/mailman/listinfo/eric" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/eric</a><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Detlev Offenbach<br>
<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
</div></div></blockquote></div><br>