From: "James F.Hranicky" Date: 2002-10-22T20:37:52+09:00 Subject: Re: Is the debugger broken? On Mon, 21 Oct 2002 18:15:15 +0900 Philipp Meier wrote: > On Mon, Oct 21, 2002 at 02:44:13PM +0900, Gavin Sinclair wrote: > > > The line that says "clear_test_table()" is line 139. I want to set a > > breakpoint there. The transcript of my debugging session is below. Long story > > short: the debugger failed to stop at the prescribed breakpoint. It > > *definitely* passed through it, because that very method was judged by TestUnit > > to have failed. > > > > It's pointless me posting all my source code for inspection, because it's long > > and dependent on database operations. I want to know if other people have had > > similar experiences of breakpoints not being honoured. If it is useful, I can > > later try to produce a small program that reproduces the error. > > I had the same experience especially with the debugger and TestUnit. > But I didn't have the time to investigate why the debugger skipped my > breakpoints. So I continued using my beloved debug-by-logging methology. I've just run into this problem this morning. The pattern I seem to be seeing is this: - breakpoints set in main file work - breakpoint set by specifiying b file.rb: seem to work - breakpoints set in different file upon stepping into that file like so b do not seem to work - breakpoint set by specifying Class::method b Foo::bar do not seem to work Jim