Searched refs:breakpoint (Results 26 - 50 of 154) sorted by relevance

1234567

/external/lldb/test/functionalities/thread/multi_break/
H A DTestMultipleBreakpoints.py34 # Find the line number for our breakpoint.
35 self.breakpoint = line_number('main.cpp', '// Set breakpoint here')
42 # This should create a breakpoint in the main thread.
43 lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.breakpoint, num_expected_locations=1)
45 # The breakpoint list should show 1 location.
46 self.expect("breakpoint list -f", "Breakpoint location shown correctly",
47 substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
52 # The stop reason of the thread should be breakpoint.
53 # The breakpoint ma
[all...]
/external/valgrind/main/gdbserver_tests/
H A Dnlcontrolc.stdoutB.exp2 Program received signal SIGTRAP, Trace/breakpoint trap.
17 Program received signal SIGTRAP, Trace/breakpoint trap.
/external/lldb/source/Target/
H A DThreadPlanRunToAddress.cpp90 Breakpoint *breakpoint; local
91 breakpoint = m_thread.CalculateTarget()->CreateBreakpoint (m_addresses[i], true).get();
92 if (breakpoint != NULL)
94 m_break_ids[i] = breakpoint->GetID();
95 breakpoint->SetThreadID(m_thread.GetID());
96 breakpoint->SetBreakpointKind("run-to-address");
156 s->Printf (" using breakpoint: %d - ", m_break_ids[i]);
157 Breakpoint *breakpoint = m_thread.CalculateTarget()->GetBreakpointByID (m_break_ids[i]).get(); local
158 if (breakpoint)
159 breakpoint
[all...]
/external/lldb/test/python_api/frame/
H A DTestFrames.py44 """Get argument vals for the call stack when stopped on a breakpoint."""
51 # Now create a breakpoint on main.c by name 'c'.
52 breakpoint = target.BreakpointCreateByName('c', 'a.out')
53 #print "breakpoint:", breakpoint
54 self.assertTrue(breakpoint and
55 breakpoint.GetNumLocations() == 1,
121 print "Full stack traces when stopped on the breakpoint 'c':"
135 # Now create a breakpoint on main.c by name 'c'.
136 breakpoint
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
H A DBreakpointTest.java47 * <BR>It runs BreakpointDebuggee and set breakpoint to its breakpointTest
55 Breakpoint breakpoint = new Breakpoint("Lorg/apache/harmony/jpda/tests/jdwp/Events/BreakpointDebuggee;", "breakpointTest", 2);
57 reply = debuggeeWrapper.vmMirror.setBreakpoint(JDWPConstants.TypeTag.CLASS, breakpoint);
62 // execute the breakpoint
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-setexceptionbreak.js41 var breakpoint = -1; variable
114 breakpoint = Debug.setBreakPoint(g, 0, 0);
/external/lldb/test/python_api/lldbutil/process/
H A DTestPrintStackTraces.py36 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line)
37 self.assertTrue(breakpoint, VALID_BREAKPOINT)
/external/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/
H A DTestBreakpointIgnoreCount.py2 Test breakpoint ignore count features.
13 mydir = os.path.join("functionalities", "breakpoint", "breakpoint_ignore_count")
18 """Exercise breakpoint ignore count with 'breakpoint set -i <count>'."""
26 """Use Python APIs to set breakpoint ignore count."""
32 """Exercise breakpoint ignore count with 'breakpoint set -i <count>'."""
39 """Use Python APIs to set breakpoint ignore count."""
54 """Exercise breakpoint ignore count with 'breakpoint se
[all...]
/external/lldb/test/functionalities/thread/create_during_step/
H A DTestCreateDuringStep.py67 self.breakpoint = line_number('main.cpp', '// Set breakpoint here')
87 # This should create a breakpoint in the stepping thread.
88 lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.breakpoint, num_expected_locations=1)
90 # The breakpoint list should show 1 location.
91 self.expect("breakpoint list -f", "Breakpoint location shown correctly",
92 substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
97 # The stop reason of the thread should be breakpoint.
100 'stop reason = breakpoint'])
117 self.assertTrue(thread1.IsStopped(), "Thread 1 didn't stop during breakpoint")
[all...]
/external/lldb/test/functionalities/thread/exit_during_step/
H A DTestExitDuringStep.py67 self.breakpoint = line_number('main.cpp', '// Set breakpoint here')
87 # This should create a breakpoint in the main thread.
88 lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.breakpoint, num_expected_locations=1)
90 # The breakpoint list should show 1 location.
91 self.expect("breakpoint list -f", "Breakpoint location shown correctly",
92 substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
97 # The stop reason of the thread should be breakpoint.
100 'stop reason = breakpoint'])
118 self.assertTrue(thread1.IsStopped(), "Thread 1 didn't stop during breakpoint")
[all...]
/external/lldb/test/python_api/thread/
H A DTestThreadAPI.py128 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.break_line)
129 self.assertTrue(breakpoint, VALID_BREAKPOINT)
130 self.runCmd("breakpoint list")
136 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint")
150 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.break_line)
151 self.assertTrue(breakpoint, VALID_BREAKPOINT)
152 #self.runCmd("breakpoint list")
158 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint")
166 startstr = 'breakpoint')
175 breakpoint
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
H A DBreakpointsSidebarPane.js40 this.listElement = document.createElementWithClass("ol", "breakpoint-list");
49 this._addBreakpoint(breakpointLocations[i].breakpoint, breakpointLocations[i].uiLocation);
84 var breakpoint = /** @type {!WebInspector.BreakpointManager.Breakpoint} */ (event.data.breakpoint);
86 this._addBreakpoint(breakpoint, uiLocation);
90 * @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint
93 _addBreakpoint: function(breakpoint, uiLocation)
96 element.addEventListener("contextmenu", this._breakpointContextMenu.bind(this, breakpoint), true);
101 checkbox.checked = breakpoint.enabled();
102 checkbox.addEventListener("click", this._breakpointCheckboxClicked.bind(this, breakpoint), fals
[all...]
H A DJavaScriptSourceFrame.js250 var breakpoint = this._breakpointManager.findBreakpointOnLine(this._uiSourceCode, lineNumber);
251 if (!breakpoint) {
252 // This row doesn't have a breakpoint: We want to show Add Breakpoint and Add and Edit Breakpoint.
253 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Add breakpoint" : "Add Breakpoint"), this._setBreakpoint.bind(this, lineNumber, 0, "", true));
254 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Add conditional breakpoint…" : "Add Conditional Breakpoint…"), this._editBreakpointCondition.bind(this, lineNumber));
256 // This row has a breakpoint, we want to show edit and remove breakpoint, and either disable or enable.
257 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove breakpoint" : "Remove Breakpoint"), breakpoint.remove.bind(breakpoint));
[all...]
/external/lldb/test/python_api/event/
H A DTestEvents.py74 # Now create a breakpoint on main.c by name 'c'.
75 breakpoint = target.BreakpointCreateByName('c', 'a.out')
146 # Now create a breakpoint on main.c by name 'c'.
147 breakpoint = target.BreakpointCreateByName('c', 'a.out')
148 #print "breakpoint:", breakpoint
149 self.assertTrue(breakpoint and
150 breakpoint.GetNumLocations() == 1,
208 # Now create a breakpoint on main.c by name 'c'.
209 breakpoint
[all...]
/external/lldb/test/python_api/hello_world/
H A DTestHelloWorld.py1 """Test Python APIs for target (launch and attach), breakpoint, and process."""
17 """Create target, breakpoint, launch a process, and then kill it.
28 """Create target, breakpoint, launch a process, and then kill it.
94 """Create target, breakpoint, launch a process, and then kill it."""
98 breakpoint = target.BreakpointCreateByLocation("main.c", self.line1)
100 # The default state after breakpoint creation should be enabled.
101 self.assertTrue(breakpoint.IsEnabled(),
104 breakpoint.SetEnabled(False)
105 self.assertTrue(not breakpoint.IsEnabled(),
108 breakpoint
[all...]
/external/lldb/test/expression_command/timeout/
H A DTestCallWithTimeout.py43 breakpoint = target.BreakpointCreateBySourceRegex('stop here in main.',self.main_source_spec)
44 self.assertTrue(breakpoint, VALID_BREAKPOINT)
45 self.runCmd("breakpoint list")
53 threads = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
/external/lldb/test/lang/objc/foundation/
H A DTestObjectDescriptionAPI.py52 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
53 self.assertTrue(breakpoint, VALID_BREAKPOINT)
58 # Make sure we hit our breakpoint:
59 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
/external/lldb/test/lang/objc/objc-ivar-offsets/
H A DTestObjCIvarOffsets.py34 self.stop_line = line_number(self.main_source, '// Set breakpoint here.')
43 breakpoint = target.BreakpointCreateByLocation(self.main_source, self.stop_line)
44 self.assertTrue(breakpoint, VALID_BREAKPOINT)
50 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
/external/lldb/test/python_api/frame/inlines/
H A DTestInlinedFrame.py47 # Now create a breakpoint on main.c by the name of 'inner_inline'.
48 breakpoint = target.BreakpointCreateByName('inner_inline', 'a.out')
49 #print "breakpoint:", breakpoint
50 self.assertTrue(breakpoint and
51 breakpoint.GetNumLocations() > 1,
64 print "Full stack traces when first stopped on the breakpoint 'inner_inline':"
67 # The first breakpoint should correspond to an inlined call frame.
86 print "Full stack traces when stopped on the breakpoint 'inner_inline' for the second time:"
/external/lldb/test/python_api/symbol-context/
H A DTestSymbolContext.py44 # Now create a breakpoint on main.c by name 'c'.
45 breakpoint = target.BreakpointCreateByName('c', 'a.out')
46 #print "breakpoint:", breakpoint
47 self.assertTrue(breakpoint and
48 breakpoint.GetNumLocations() == 1,
58 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint")
/external/lldb/test/python_api/watchpoint/
H A DTestSetWatchpoint.py47 # Now create a breakpoint on main.c.
48 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
49 self.assertTrue(breakpoint and
50 breakpoint.GetNumLocations() == 1,
56 # We should be stopped due to the breakpoint. Get frame #0.
H A DTestWatchpointIgnoreCount.py47 # Create a breakpoint on main.c in order to set our watchpoint later.
48 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
49 self.assertTrue(breakpoint and
50 breakpoint.GetNumLocations() == 1,
56 # We should be stopped due to the breakpoint. Get frame #0.
H A DTestWatchpointIter.py47 # Create a breakpoint on main.c in order to set our watchpoint later.
48 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
49 self.assertTrue(breakpoint and
50 breakpoint.GetNumLocations() == 1,
56 # We should be stopped due to the breakpoint. Get frame #0.
/external/lldb/test/python_api/watchpoint/condition/
H A DTestWatchpointConditionAPI.py52 # Now create a breakpoint on main.c.
53 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
54 self.assertTrue(breakpoint and
55 breakpoint.GetNumLocations() == 1,
61 # We should be stopped due to the breakpoint. Get frame #0.
/external/lldb/test/python_api/watchpoint/watchlocation/
H A DTestSetWatchlocation.py50 # Now create a breakpoint on main.c.
51 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
52 self.assertTrue(breakpoint and
53 breakpoint.GetNumLocations() == 1,
59 # We should be stopped due to the breakpoint. Get frame #0.

Completed in 361 milliseconds

1234567