Home
last modified time | relevance | path

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

12345678

/external/ltrace/
Dbreakpoint.h47 void (*on_hit)(struct breakpoint *bp, struct process *proc);
48 void (*on_continue)(struct breakpoint *bp, struct process *proc);
49 void (*on_install)(struct breakpoint *bp, struct process *proc);
50 void (*on_retract)(struct breakpoint *bp, struct process *proc);
58 int (*get_return_bp)(struct breakpoint **ret,
59 struct breakpoint *bp, struct process *proc);
62 struct breakpoint { struct
73 void breakpoint_on_hit(struct breakpoint *bp, struct process *proc); argument
77 void breakpoint_on_continue(struct breakpoint *bp, struct process *proc);
86 void breakpoint_on_retract(struct breakpoint *bp, struct process *proc);
[all …]
Dbreakpoints.c63 breakpoint_on_hit(struct breakpoint *bp, struct process *proc) in breakpoint_on_hit()
71 breakpoint_on_continue(struct breakpoint *bp, struct process *proc) in breakpoint_on_continue()
81 breakpoint_on_retract(struct breakpoint *bp, struct process *proc) in breakpoint_on_retract()
89 breakpoint_on_install(struct breakpoint *bp, struct process *proc) in breakpoint_on_install()
97 breakpoint_get_return_bp(struct breakpoint **ret, in breakpoint_get_return_bp()
98 struct breakpoint *bp, struct process *proc) in breakpoint_get_return_bp()
112 struct breakpoint *
120 struct breakpoint *found; in address2bpstruct()
128 os_breakpoint_init(struct process *proc, struct breakpoint *sbp) in os_breakpoint_init()
134 os_breakpoint_destroy(struct breakpoint *sbp) in os_breakpoint_destroy()
[all …]
Dbackend.h111 void enable_breakpoint(struct process *proc, struct breakpoint *sbp);
114 void disable_breakpoint(struct process *proc, struct breakpoint *sbp);
139 void continue_after_breakpoint(struct process *proc, struct breakpoint *sbp);
236 int os_breakpoint_init(struct process *proc, struct breakpoint *sbp);
237 void os_breakpoint_destroy(struct breakpoint *sbp);
238 int os_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp);
245 int arch_breakpoint_init(struct process *proc, struct breakpoint *sbp);
246 void arch_breakpoint_destroy(struct breakpoint *sbp);
247 int arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp);
453 struct breakpoint *bp,
/external/lldb/examples/python/
Djump.py17 breakpoint = None
32 breakpoint = target.BreakpointCreateByLocation (line_entry.GetFileSpec(), line_number)
44breakpoint = target.BreakpointCreateByLocation(line_entry.GetFileSpec(), (line_entry.GetLine() + l…
56breakpoint = target.BreakpointCreateByLocation(line_entry.GetFileSpec(), (line_entry.GetLine() - l…
65 breakpoint = target.BreakpointCreateByLocation(file_name, line_number)
73 breakpoint = target.BreakpointCreateByAddress(address)
77 breakpoint = target.BreakpointCreateByName(linespec)
79 num_locations = breakpoint.GetNumLocations()
87 location = breakpoint.GetLocationAtIndex(location_index)
90 target.BreakpointDelete(breakpoint.GetID())
/external/lldb/test/functionalities/breakpoint/breakpoint_conditions/
DTestBreakpointConditions.py144 breakpoint = target.BreakpointCreateByName('c', 'a.out')
146 self.assertTrue(breakpoint and
147 breakpoint.GetNumLocations() == 1,
151 self.assertTrue(breakpoint.GetThreadIndex() == lldb.UINT32_MAX,
154 self.assertTrue(breakpoint.GetThreadName() is None,
159 breakpoint.SetThreadIndex(1) # There's only one thread for the process.
160 self.assertTrue(breakpoint.GetThreadIndex() == 1,
165 location = breakpoint.GetLocationAtIndex(0)
189 self.assertTrue(breakpoint.GetHitCount() == 3)
/external/lldb/source/Target/
DThreadPlanRunToAddress.cpp90 Breakpoint *breakpoint; in SetInitialBreakpoints() local
91 breakpoint = m_thread.CalculateTarget()->CreateBreakpoint (m_addresses[i], true).get(); in SetInitialBreakpoints()
92 if (breakpoint != NULL) in SetInitialBreakpoints()
94 m_break_ids[i] = breakpoint->GetID(); in SetInitialBreakpoints()
95 breakpoint->SetThreadID(m_thread.GetID()); in SetInitialBreakpoints()
96 breakpoint->SetBreakpointKind("run-to-address"); in SetInitialBreakpoints()
157 … Breakpoint *breakpoint = m_thread.CalculateTarget()->GetBreakpointByID (m_break_ids[i]).get(); in GetDescription() local
158 if (breakpoint) in GetDescription()
159 breakpoint->Dump (s); in GetDescription()
/external/lldb/test/
Dbench-history8 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102216 (Laps: 30, Total Elapsed Time: 3…
17 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102334 (Laps: 30, Total Elapsed Time: 3…
24 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102312 (Laps: 30, Total Elapsed Time: 3…
36 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102230 (Laps: 30, Total Elapsed Time: 3…
37 lldb startup delay (run to breakpoint) benchmark: Avg: 0.448635 (Laps: 30, Total Elapsed Time: 13.4…
46 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102321 (Laps: 30, Total Elapsed Time: 3…
47 lldb startup delay (run to breakpoint) benchmark: Avg: 0.445943 (Laps: 30, Total Elapsed Time: 13.3…
57 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102844 (Laps: 30, Total Elapsed Time: 3…
58 lldb startup delay (run to breakpoint) benchmark: Avg: 0.467196 (Laps: 30, Total Elapsed Time: 14.0…
65 lldb startup delay (set first breakpoint) benchmark: Avg: 0.102348 (Laps: 30, Total Elapsed Time: 3…
[all …]
/external/lldb/test/python_api/lldbutil/iter/
DTestLLDBIterator.py46 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
47 self.assertTrue(breakpoint, VALID_BREAKPOINT)
77 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
78 self.assertTrue(breakpoint, VALID_BREAKPOINT)
79 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line2)
80 self.assertTrue(breakpoint, VALID_BREAKPOINT)
106 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.line1)
107 self.assertTrue(breakpoint, VALID_BREAKPOINT)
/external/v8/test/mjsunit/
Ddebug-clearbreakpoint.js36 var breakpoint = -1; variable
72 testArguments(dcp, '{"breakpoint":' + (breakpoint + 1)+ '}', false);
76 testArguments(dcp, '{"breakpoint":' + breakpoint + '}', true);
79 testArguments(dcp, '{"breakpoint":' + breakpoint + '}', false);
95 breakpoint = Debug.setBreakPoint(g, 0, 0);
Ddebug-changebreakpoint.js36 var breakpoint = -1; variable
72 testArguments(dcp, '{"breakpoint":' + (breakpoint + 1) + ',"condition":"false"}', false);
76 var bp_str = '"breakpoint":' + breakpoint;;
103 breakpoint = Debug.setBreakPoint(g, 0, 0);
/external/ltrace/sysdeps/linux-gnu/
Dbreakpoint.c38 extern void arch_enable_breakpoint(pid_t, struct breakpoint *);
41 arch_enable_breakpoint(pid_t pid, struct breakpoint *sbp) in arch_enable_breakpoint()
82 enable_breakpoint(struct process *proc, struct breakpoint *sbp) in enable_breakpoint()
90 extern void arch_disable_breakpoint(pid_t, const struct breakpoint *sbp);
93 arch_disable_breakpoint(pid_t pid, const struct breakpoint *sbp) in arch_disable_breakpoint()
130 disable_breakpoint(struct process *proc, struct breakpoint *sbp) in disable_breakpoint()
/external/lldb/test/python_api/frame/
DTestFrames.py52 breakpoint = target.BreakpointCreateByName('c', 'a.out')
54 self.assertTrue(breakpoint and
55 breakpoint.GetNumLocations() == 1,
136 breakpoint = target.BreakpointCreateByName('c', 'a.out')
138 self.assertTrue(breakpoint and
139 breakpoint.GetNumLocations() == 1,
173 breakpoint = target.BreakpointCreateByName('c', 'a.out')
175 self.assertTrue(breakpoint and
176 breakpoint.GetNumLocations() == 1,
/external/ltrace/sysdeps/linux-gnu/arm/
Dbreakpoint.c34 arch_enable_breakpoint(pid_t pid, struct breakpoint *sbp) in arch_enable_breakpoint()
69 arch_disable_breakpoint(pid_t pid, const struct breakpoint *sbp) in arch_disable_breakpoint()
95 arch_breakpoint_init(struct process *proc, struct breakpoint *sbp) in arch_breakpoint_init()
106 arch_breakpoint_destroy(struct breakpoint *sbp) in arch_breakpoint_destroy()
111 arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp) in arch_breakpoint_clone()
/external/lldb/test/python_api/thread/
DTestThreadAPI.py128 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.break_line)
129 self.assertTrue(breakpoint, VALID_BREAKPOINT)
150 breakpoint = target.BreakpointCreateByLocation("main.cpp", self.break_line)
151 self.assertTrue(breakpoint, VALID_BREAKPOINT)
175 breakpoint = target.BreakpointCreateByName('malloc')
176 self.assertTrue(breakpoint, VALID_BREAKPOINT)
208 breakpoint = target.BreakpointCreateByLocation('main2.cpp', self.step_out_of_malloc)
209 self.assertTrue(breakpoint, VALID_BREAKPOINT)
249 breakpoint = target.BreakpointCreateByLocation('main2.cpp', self.step_out_of_malloc)
250 self.assertTrue(breakpoint, VALID_BREAKPOINT)
/external/lldb/docs/
Dlldb-for-gdb-users.txt35 this is the breakpoint command. In gdb, to set a breakpoint, you
51 (lldb) breakpoint set -f foo.c -l 12
53 to set a file & line breakpoint. To set a breakpoint on a function
56 (lldb) breakpoint set -n foo
60 (lldb) breakpoint set -M foo
64 (lldb) breakpoint set -S alignLeftEdges:
66 to set a breakpoint on all ObjC selectors called alignLeftEdges:. It
69 (lldb) breakpoint set -s foo.dylib -n foo
76 (lldb) breakpoint set -n "-[SKTGraphicView alignLeftEdges:]"
87 instance the -f option in "breakpoint" completes to source files, the
[all …]
/external/lldb/test/python_api/hello_world/
DTestHelloWorld.py98 breakpoint = target.BreakpointCreateByLocation("main.c", self.line1)
101 self.assertTrue(breakpoint.IsEnabled(),
104 breakpoint.SetEnabled(False)
105 self.assertTrue(not breakpoint.IsEnabled(),
108 breakpoint.SetEnabled(True)
109 self.assertTrue(breakpoint.IsEnabled(),
132 self.assertTrue(breakpoint.GetHitCount() == 1, BREAKPOINT_HIT_ONCE)
/external/lldb/test/lang/objc/objc-stepping/
Dstepping-tests.m121 [mySource randomMethod]; // Set first breakpoint here.
122 ret_val = [mySource returnsStruct]; // Set second breakpoint here.
126 [mySource randomMethod]; // Set third breakpoint here.
127 ret_val = [mySource returnsStruct]; // Set fourth breakpoint here.
128 [mySource setProperty: 5]; // Set fifth breakpoint here.
134 [mySource randomMethod]; // Set nil step breakpoint here.
/external/lldb/test/python_api/watchpoint/watchlocation/
DTestTargetWatchAddress.py66 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
67 self.assertTrue(breakpoint and
68 breakpoint.GetNumLocations() == 1,
125 breakpoint = target.BreakpointCreateByLocation(self.source, self.line)
126 self.assertTrue(breakpoint and
127 breakpoint.GetNumLocations() == 1,
/external/lldb/test/functionalities/expr-doesnt-deadlock/
DTestExprDoesntBlock.py47 breakpoint = target.BreakpointCreateBySourceRegex('Break here', main_file_spec)
49 print "breakpoint:", breakpoint
50 self.assertTrue(breakpoint and
51 breakpoint.GetNumLocations() == 1,
/external/lldb/test/python_api/event/
DTestEvents.py75 breakpoint = target.BreakpointCreateByName('c', 'a.out')
147 breakpoint = target.BreakpointCreateByName('c', 'a.out')
149 self.assertTrue(breakpoint and
150 breakpoint.GetNumLocations() == 1,
209 breakpoint = target.BreakpointCreateByName('c', 'a.out')
211 self.assertTrue(breakpoint and
212 breakpoint.GetNumLocations() == 1,
/external/v8/test/mjsunit/regress/
Dregress-131994.js40 var breakpoint = exec_state.frame(0);
43 assertTrue(breakpoint.sourceLineText().indexOf("// Break") > -1);
45 assertEquals(3, breakpoint.evaluate('x').value());
/external/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/
DTestBreakpointIgnoreCount.py111 breakpoint = target.BreakpointCreateByName('c', 'a.out')
112 self.assertTrue(breakpoint and
113 breakpoint.GetNumLocations() == 1,
118 location = breakpoint.GetLocationAtIndex(0)
147 self.assertTrue(breakpoint.GetHitCount() == 3)
/external/lldb/test/functionalities/thread/create_during_step/
DTestCreateDuringStep.py67 self.breakpoint = line_number('main.cpp', '// Set breakpoint here')
88 …lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.breakpoint, num_expected_locations…
92 substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
122 current_line = self.breakpoint
135 …self.assertTrue(current_line >= self.breakpoint, "Stepped to unexpected line, " + str(current_line…
/external/lldb/test/functionalities/thread/exit_during_step/
DTestExitDuringStep.py67 self.breakpoint = line_number('main.cpp', '// Set breakpoint here')
88 …lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.breakpoint, num_expected_locations…
92 substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
124 current_line = self.breakpoint
137 …self.assertTrue(current_line >= self.breakpoint, "Stepped to unexpected line, " + str(current_line…
/external/lldb/test/api/multithreaded/
Dtest_breakpoint_callback.cpp35 SBBreakpoint breakpoint = target.BreakpointCreateByName("next"); in test() local
36 if (!breakpoint.IsValid()) throw Exception("invalid breakpoint"); in test()
37 breakpoint.SetCallback(BPCallback, 0); in test()

12345678