File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -594,10 +594,10 @@ defmodule IEx do
594594
595595 IEx.break!(URI, :decode_query, 2)
596596
597- The following call will setup a breakpoint that stops once.
597+ This call will setup a breakpoint that stops once.
598598 To set a breakpoint that will stop 10 times:
599599
600- IEx.break!(URI, :decode_query, 10)
600+ IEx.break!(URI, :decode_query, 2, 10)
601601
602602 `IEx.break!/2` is a convenience macro that allows breakpoints
603603 to be given in the `Mod.fun/arity` format:
@@ -622,7 +622,7 @@ defmodule IEx do
622622 iex -S mix test path/to/file:line --trace
623623
624624 """
625- def break! ( module , function , arity , stops \\ 10 ) do
625+ def break! ( module , function , arity , stops \\ 1 ) do
626626 case IEx.Pry . break ( module , function , arity , stops ) do
627627 { :ok , id } ->
628628 id
You can’t perform that action at this time.
0 commit comments