[Lldb-commits] [PATCH] D16767: Fix single-stepping onto a breakpoint

Adrian McCarthy via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 1 17:03:38 PST 2016


amccarth added a subscriber: amccarth.
amccarth added a comment.

I was chasing this same bug on Windows before I noticed you were working on it.  I patched in your latest diff, and the problem still occurs.  In fact, now I get two failures:

> ======================================================================

>  FAIL: test_continue (TestConsecutiveBreakpoints.ConsecutiveBreakpointsTestCase)

> 

>   Test that continue stops at the second breakpoint.

> 

>  ----------------------------------------------------------------------

> 

> Traceback (most recent call last):

> 

>   File "D:\src\llvm\llvm\tools\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 552, in wrapper

>     return func(self, *args, **kwargs)

>   File "D:\src\llvm\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\breakpoint\consecutive_breakpoints\TestConsecutiveBreakpoints.py", line 58, in test_continue

>     self.assertEquals(self.process.GetState(), lldb.eStateStopped)

> 

> AssertionError: 10 != 5

>  Config=i686-D:\src\llvm\build\ninja_release\bin\clang.exe

>  ======================================================================

>  FAIL: test_single_step (TestConsecutiveBreakpoints.ConsecutiveBreakpointsTestCase)

> 

>   Test that single step stops at the second breakpoint.

> 

>  ----------------------------------------------------------------------

> 

> Traceback (most recent call last):

> 

>   File "D:\src\llvm\llvm\tools\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 552, in wrapper

>     return func(self, *args, **kwargs)

>   File "D:\src\llvm\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\breakpoint\consecutive_breakpoints\TestConsecutiveBreakpoints.py", line 76, in test_single_step

>     self.assertIsNotNone(self.thread, "Expected one thread to be stopped at breakpoint 2")

> 

> AssertionError: unexpectedly None : Expected one thread to be stopped at breakpoint 2

>  Config=i686-D:\src\llvm\build\ninja_release\bin\clang.exe

> 

>  ----------------------------------------------------------------------

> 

> Ran 3 tests in 25.026s

> 

> RESULT: FAILED (1 passes, 2 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)





http://reviews.llvm.org/D16767





More information about the lldb-commits mailing list