Skip to content

Commit

Permalink
Merge pull request #555 from josefs/deprecate-dbg-stop-clear
Browse files Browse the repository at this point in the history
Deprecate dbg:stop_clear/0
  • Loading branch information
erszcz authored Sep 7, 2023
2 parents cb6c1cf + 7c6f0ce commit 81385f6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/gradualizer_tracer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,18 @@ start() ->
ok.

%% @doc Stop tracing.
-if(?OTP_RELEASE >= 26).

stop() ->
dbg:stop().

-else.

stop() ->
dbg:stop_clear().

-endif.

%% @doc `debug/1' is a trace point to trace when pinpointing issues across several candidate
%% locations. Uncomment the below in `start/0':
%%
Expand Down

0 comments on commit 81385f6

Please sign in to comment.