Home
last modified time | relevance | path

Searched refs:breakpoint (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/lldb/test/API/lua_api/
H A DTestBreakpointAPI.lua6 assertTrue(breakpoint:IsValid() and breakpoint:GetNumLocations() == 1)
7 local did_delete = target:BreakpointDelete(breakpoint:GetID())
11 assertFalse(breakpoint:IsValid())
17 assertTrue(breakpoint:IsValid() and breakpoint:GetNumLocations() == 1)
18 local location = breakpoint:GetLocationAtIndex(0)
20 assertEquals(target, breakpoint:GetTarget())
22 assertFalse(breakpoint:IsValid())
29 assertTrue(breakpoint:IsValid() and breakpoint:GetNumLocations() == 1)
30 breakpoint:SetAutoContinue(true)
32 assertEquals(breakpoint:GetHitCount(), 100)
[all …]
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/breakpoint/
H A DTestVSCode_setBreakpoints.py66 breakpoint = breakpoints[0]
75 breakpoint = breakpoints[0]
88 breakpoint = breakpoints[0]
138 line = breakpoint['line']
162 line = breakpoint['line']
181 for breakpoint in breakpoints:
182 line = breakpoint['line']
215 for breakpoint in breakpoints:
216 line = breakpoint['line']
231 line = breakpoint['line']
[all …]
H A DTestVSCode_setFunctionBreakpoints.py45 for breakpoint in breakpoints:
46 bp_id_12 = breakpoint['id']
47 self.assertTrue(breakpoint['verified'],
57 for breakpoint in breakpoints:
58 self.assertTrue(breakpoint['verified'],
69 for breakpoint in breakpoints:
70 bp_id = breakpoint['id']
73 self.assertTrue(breakpoint['verified'],
85 for breakpoint in breakpoints:
86 bp_id = breakpoint['id']
[all …]
/llvm-project-15.0.7/lldb/test/Shell/Breakpoint/
H A Dcase-sensitive.test6 breakpoint set -f case-sensitive.c -l 3
7 # CHECK-LABEL: breakpoint set -f case-sensitive.c -l 3
10 breakpoint set -f %p/Inputs/case-sensitive.c -l 3
14 breakpoint set -f %p/INPUTS/case-sensitive.c -l 3
18 breakpoint set -f Case-Sensitive.c -l 3
19 # CHECK-LABEL: breakpoint set -f Case-Sensitive.c -l 3
22 breakpoint set -f %p/INPUTS/Case-Sensitive.c -l 3
26 breakpoint set -f case-sensitive.c -p REGEX-THIS
30 breakpoint set -f %p/Inputs/case-sensitive.c -p REGEX-THIS
34 breakpoint set -f %p/INPUTS/case-sensitive.c -p REGEX-THIS
[all …]
H A Dcase-insensitive.test6 breakpoint set -f case-sensitive.c -l 3
7 # CHECK-LABEL: breakpoint set -f case-sensitive.c -l 3
10 breakpoint set -f %p/Inputs/case-sensitive.c -l 3
14 breakpoint set -f %p/INPUTS/case-sensitive.c -l 3
18 breakpoint set -f Case-Sensitive.c -l 3
19 # CHECK-LABEL: breakpoint set -f Case-Sensitive.c -l 3
22 breakpoint set -f %p/INPUTS/Case-Sensitive.c -l 3
26 breakpoint set -f case-sensitive.c -p REGEX-THIS
30 breakpoint set -f %p/Inputs/case-sensitive.c -p REGEX-THIS
34 breakpoint set -f %p/INPUTS/case-sensitive.c -p REGEX-THIS
[all …]
/llvm-project-15.0.7/lldb/test/API/python_api/breakpoint/
H A DTestBreakpointAPI.py25 self.trace("breakpoint:", breakpoint)
26 self.assertTrue(breakpoint and
27 breakpoint.GetNumLocations() == 1,
31 did_delete = target.BreakpointDelete(breakpoint.GetID())
37 del_bkpt = target.FindBreakpointByID(breakpoint.GetID())
42 not breakpoint,
58 self.trace("breakpoint:", breakpoint)
59 self.assertTrue(breakpoint and
60 breakpoint.GetNumLocations() == 1,
62 location = breakpoint.GetLocationAtIndex(0)
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/
H A DTestBreakpointConditions.py123 self.trace("breakpoint:", breakpoint)
124 self.assertTrue(breakpoint and
125 breakpoint.GetNumLocations() == 1,
139 breakpoint.SetThreadIndex(1)
140 self.assertEqual(breakpoint.GetThreadIndex(), 1,
145 location = breakpoint.GetLocationAtIndex(0)
172 self.assertEqual(breakpoint.GetHitCount(), 1)
191 self.trace("breakpoint:", breakpoint)
192 self.assertTrue(breakpoint and
198 self.expect(breakpoint.GetCondition(), exe=False,
[all …]
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/breakpoint-events/
H A DTestVSCode_breakpointEvents.py70 for breakpoint in breakpoints:
71 main_bp_id = breakpoint['id']
74 self.assertTrue(breakpoint['verified'],
81 for breakpoint in breakpoints:
82 foo_bp_id = breakpoint['id']
84 self.assertFalse(breakpoint['verified'],
109 breakpoint = body['breakpoint']
110 self.assertTrue(breakpoint['verified'],
112 self.assertEqual(breakpoint['id'], foo_bp_id,
114 self.assertTrue('line' in breakpoint and breakpoint['line'] > 0,
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/address_breakpoints/
H A DTestAddressBreakpoints.py26 breakpoint = target.BreakpointCreateBySourceRegex(
28 self.assertTrue(breakpoint and
29 breakpoint.GetNumLocations() >= 1,
34 location = breakpoint.GetLocationAtIndex(0)
43 target.BreakpointDelete(breakpoint.GetID())
45 breakpoint = target.BreakpointCreateBySBAddress(address)
63 threads = get_threads_stopped_at_breakpoint(process, breakpoint)
69 self.assertEquals(breakpoint.GetHitCount(), 1)
80 thread = get_threads_stopped_at_breakpoint(process, breakpoint)
86 self.assertEquals(breakpoint.GetHitCount(), 2)
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dbreakpoint.py70 def __init__(self, breakpoint): argument
71 self.breakpoint = breakpoint.contents
72 self.vt = self.breakpoint.lpVtbl.contents
75 res = self.vt.SetFlags(self.breakpoint, flags)
79 res = self.vt.SetOffset(self.breakpoint, offs)
83 res = self.vt.RemoveFlags(self.breakpoint, flags)
87 self.breakpoint = None
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/
H A DTestBreakpointHitCount.py58 breakpoint = target.BreakpointCreateByName('a', 'a.out')
59 self.assertTrue(breakpoint and
60 breakpoint.GetNumLocations() == 2,
64 location1 = breakpoint.GetLocationAtIndex(0)
69 location2 = breakpoint.GetLocationAtIndex(1)
87 location1 = breakpoint.FindLocationByAddress(frame0.GetPC())
93 self.assertEqual(breakpoint.GetHitCount(), 1)
104 location2 = breakpoint.FindLocationByAddress(frame0.GetPC())
111 self.assertEqual(breakpoint.GetHitCount(), 2)
123 self.assertEqual(breakpoint.GetHitCount(), 3)
/llvm-project-15.0.7/lldb/test/API/python_api/frame/
H A DTestFrames.py27 breakpoint = target.BreakpointCreateByName('c', 'a.out')
28 self.trace("breakpoint:", breakpoint)
29 self.assertTrue(breakpoint and
30 breakpoint.GetNumLocations() == 1,
130 breakpoint = target.BreakpointCreateByName('c', 'a.out')
131 self.trace("breakpoint:", breakpoint)
132 self.assertTrue(breakpoint and
133 breakpoint.GetNumLocations() == 1,
172 self.trace("breakpoint:", breakpoint)
173 self.assertTrue(breakpoint and
[all …]
/llvm-project-15.0.7/lldb/source/Target/
H A DThreadPlanRunToAddress.cpp65 Breakpoint *breakpoint; in SetInitialBreakpoints() local
66 breakpoint = in SetInitialBreakpoints()
68 if (breakpoint != nullptr) { in SetInitialBreakpoints()
69 if (breakpoint->IsHardware() && !breakpoint->HasResolvedLocations()) in SetInitialBreakpoints()
71 m_break_ids[i] = breakpoint->GetID(); in SetInitialBreakpoints()
72 breakpoint->SetThreadID(m_tid); in SetInitialBreakpoints()
73 breakpoint->SetBreakpointKind("run-to-address"); in SetInitialBreakpoints()
121 Breakpoint *breakpoint = in GetDescription() local
123 if (breakpoint) in GetDescription()
124 breakpoint->Dump(s); in GetDescription()
/llvm-project-15.0.7/lldb/examples/python/
H A Djump.py21 breakpoint = None
37 breakpoint = target.BreakpointCreateByLocation(
51 breakpoint = target.BreakpointCreateByLocation(
65 breakpoint = target.BreakpointCreateByLocation(
75 breakpoint = target.BreakpointCreateByLocation(
84 breakpoint = target.BreakpointCreateByAddress(address)
88 breakpoint = target.BreakpointCreateByName(linespec)
90 num_locations = breakpoint.GetNumLocations()
99 location = breakpoint.GetLocationAtIndex(location_index)
102 target.BreakpointDelete(breakpoint.GetID())
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/
H A DTestAvoidBreakpointInDelaySlot.py28 breakpoint = target.BreakpointCreateByName('main', 'a.out')
29 self.assertTrue(breakpoint and
30 breakpoint.GetNumLocations() == 1,
62 breakpoint = target.BreakpointCreateByAddress(delayinstaddr)
65 self.assertTrue(breakpoint and
66 breakpoint.GetNumLocations() == 1,
69 location = breakpoint.GetLocationAtIndex(0)
/llvm-project-15.0.7/lldb/docs/use/
H A Dtutorial.rst73 (lldb) breakpoint set --name foo
74 (lldb) breakpoint set -n foo
91 (lldb) breakpoint set -M foo
237 (lldb) breakpoint list
243 Note that setting a breakpoint creates a logical breakpoint, which could
255 the new location would be added to breakpoint 1 (e.g. a "1.2" breakpoint would
269 (gdb) set breakpoint pending on
274 "breakpoint list", and we report the breakpoint as "pending" when you set it so
308 Add a set of commands to a breakpoint, to be executed whenever the breakpoint is hit.
368 You can also make a breakpoint name from the options set on a breakpoint:
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/thread/thread_specific_break/
H A DTestThreadSpecificBreakpoint.py12 def using_current(test, thread, breakpoint): argument
13 bp_id = breakpoint.GetID()
16 def set_thread_id(test, thread, breakpoint): argument
18 breakpoint.SetThreadID(id)
20 def set_thread_name(test, thread, breakpoint): argument
21 breakpoint.SetThreadName("main-thread")
/llvm-project-15.0.7/lldb/test/API/python_api/lldbutil/iter/
H A DTestLLDBIterator.py32 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
33 self.assertTrue(breakpoint, VALID_BREAKPOINT)
67 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
68 self.assertTrue(breakpoint, VALID_BREAKPOINT)
69 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line2)
70 self.assertTrue(breakpoint, VALID_BREAKPOINT)
99 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
100 self.assertTrue(breakpoint, VALID_BREAKPOINT)
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp120 Breakpoint &breakpoint = *breakpoint_sp; in SearchCallback() local
123 if (breakpoint.GetNumLocations() == 0) { in SearchCallback()
128 Target &target = breakpoint.GetTarget(); in SearchCallback()
138 m_resolved_addr = m_addr.GetLoadAddress(&breakpoint.GetTarget()); in SearchCallback()
140 if (bp_loc_sp && !breakpoint.IsInternal()) { in SearchCallback()
147 BreakpointLocationSP loc_sp = breakpoint.GetLocationAtIndex(0); in SearchCallback()
149 m_addr.GetLoadAddress(&breakpoint.GetTarget()); in SearchCallback()
174 BreakpointResolverAddress::CopyForBreakpoint(BreakpointSP &breakpoint) { in CopyForBreakpoint() argument
176 new BreakpointResolverAddress(breakpoint, m_addr)); in CopyForBreakpoint()
/llvm-project-15.0.7/lldb/test/API/commands/disassemble/basic/
H A DTestFrameDisassemble.py28 breakpoint = target.BreakpointCreateBySourceRegex(
30 self.assertTrue(breakpoint and
31 breakpoint.GetNumLocations() >= 1,
45 threads = get_threads_stopped_at_breakpoint(process, breakpoint)
51 self.assertEquals(breakpoint.GetHitCount(), 1)
/llvm-project-15.0.7/lldb/test/API/python_api/thread/
H A DTestThreadAPI.py78 breakpoint = target.BreakpointCreateByLocation(
80 self.assertTrue(breakpoint, VALID_BREAKPOINT)
104 breakpoint = target.BreakpointCreateByLocation(
106 self.assertTrue(breakpoint, VALID_BREAKPOINT)
139 breakpoint = target.BreakpointCreateByName('malloc')
140 self.assertTrue(breakpoint, VALID_BREAKPOINT)
171 target.BreakpointDelete(breakpoint.GetID())
186 breakpoint = target.BreakpointCreateByLocation(
188 self.assertTrue(breakpoint, VALID_BREAKPOINT)
232 breakpoint = target.BreakpointCreateByLocation(
[all …]
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/OnDemand/
H A Dsource-breakpoint.test1 # Test shows that source line breakpoint works with LLDB on demand symbol loading.
9 breakpoint list
12 breakpoint set -f basic.cpp -l 1
15 breakpoint list
19 # CHECK: stop reason = breakpoint
/llvm-project-15.0.7/lldb/test/API/python_api/event/
H A DTestEvents.py43 breakpoint = target.BreakpointCreateByName('c', 'a.out')
133 breakpoint = target.BreakpointCreateByName('c', 'a.out')
134 self.trace("breakpoint:", breakpoint)
135 self.assertTrue(breakpoint and
136 breakpoint.GetNumLocations() == 1,
213 breakpoint = target.BreakpointCreateByName('c', 'a.out')
214 self.trace("breakpoint:", breakpoint)
215 self.assertTrue(breakpoint and
216 breakpoint.GetNumLocations() == 1,
/llvm-project-15.0.7/lldb/test/API/functionalities/tail_call_frames/sbapi_support/
H A DTestTailCallFrameSBAPI.py26 breakpoint = target.BreakpointCreateBySourceRegex("break here",
28 self.assertTrue(breakpoint and
29 breakpoint.GetNumLocations() == 1,
39 breakpoint)
44 self.assertEqual(breakpoint.GetHitCount(), 1)
/llvm-project-15.0.7/lldb/test/API/commands/frame/language/
H A DTestGuessLanguage.py39 breakpoint = target.BreakpointCreateBySourceRegex(
41 self.assertTrue(breakpoint and
42 breakpoint.GetNumLocations() >= 1,
56 threads = get_threads_stopped_at_breakpoint(process, breakpoint)
62 self.assertEquals(breakpoint.GetHitCount(), 1)

12345678910>>...12