[Lldb-commits] [lldb] r146539 - /lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
Johnny Chen
johnny.chen at apple.com
Tue Dec 13 17:36:05 PST 2011
Author: johnny
Date: Tue Dec 13 19:36:04 2011
New Revision: 146539
URL: http://llvm.org/viewvc/llvm-project?rev=146539&view=rev
Log:
Print out the breakpoint description only if self.TraceOn() is True.
Modified:
lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
Modified: lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py?rev=146539&r1=146538&r2=146539&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py (original)
+++ lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py Tue Dec 13 19:36:04 2011
@@ -39,7 +39,8 @@
main_file_spec = lldb.SBFileSpec ("locking.c")
breakpoint = target.BreakpointCreateBySourceRegex('Break here', main_file_spec)
- print "breakpoint:", breakpoint
+ if self.TraceOn():
+ print "breakpoint:", breakpoint
self.assertTrue(breakpoint and
breakpoint.GetNumLocations() == 1,
VALID_BREAKPOINT)
More information about the lldb-commits
mailing list