Skip to content

Commit

Permalink
fixup! compiler: Add support for debug information in BEAM files
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng committed Nov 12, 2024
1 parent ee347bd commit 6c47bf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/stdlib/src/erl_pp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,8 @@ lexpr({remote,_,M,F}, Prec, Opts) ->
%% BIT SYNTAX:
lexpr({bin,_,Fs}, _, Opts) ->
bit_grp(Fs, Opts);
lexpr({debug_line,Line,Index}, _Prec, _Opts) ->
leaf(format("beam_instruction:debug_line(~p, ~p)", [Line,Index]));
lexpr({executable_line,Line,Index}, _Prec, _Opts) ->
leaf(format("beam_instruction:executable_line(~p, ~p)", [Line,Index]));
%% Special case for straight values.
Expand Down

0 comments on commit 6c47bf2

Please sign in to comment.