Skip to content

Commit fc44d2b

Browse files
committed
address review comments
1 parent feb6891 commit fc44d2b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lldb/docs/use/map.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,21 +247,19 @@ Ignore a function when doing a source level single step in
247247
248248
(lldb) settings show target.process.thread.step-avoid-regexp
249249
target.process.thread.step-avoid-regexp (regex) = ^std::
250-
(lldb) settings set target.process.thread.step-avoid-regexp (^std::)|(^abc)
251-
252-
Get the default value, make it into a capture group, then add another capture
253-
group for the new function name.
250+
(lldb) settings set target.process.thread.step-avoid-regexp ^std::|^abc
254251
255252
You can ignore a function once using:
256253

257254
.. code-block:: shell
258255
259256
(lldb) thread step-in -r ^abc
260257
261-
Or you can do the opposite, only step into functions with a certain name:
258+
Or you can do the opposite, only step into functions matching a certain name:
262259

263260
.. code-block:: shell
264261
262+
# Step in if abc is a substring of the function name.
265263
(lldb) sif abc
266264
# Which is equivalent to:
267265
(lldb) thread step-in -t abc

0 commit comments

Comments
 (0)