diff options
author | Lukas Larsson <[email protected]> | 2011-08-31 10:16:25 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-08-31 10:16:25 +0200 |
commit | 03b7d0ab7b998ab498349ebbffda01daadabab8c (patch) | |
tree | 82504f68cd7fa670244dd41b2144e64ae9824c07 /lib/runtime_tools/src/dbg.erl | |
parent | 20ec82caad1d8c3feee7246cf52837e6c4324f36 (diff) | |
parent | 6d8ad1f5636b25c0e344ef5eb673612b835a3ef9 (diff) | |
download | otp-03b7d0ab7b998ab498349ebbffda01daadabab8c.tar.gz otp-03b7d0ab7b998ab498349ebbffda01daadabab8c.tar.bz2 otp-03b7d0ab7b998ab498349ebbffda01daadabab8c.zip |
Merge branch 'lukas/runtime_tools/add_default_trace_patterns/OTP-9458' into major
* lukas/runtime_tools/add_default_trace_patterns/OTP-9458:
Expand documenation about built-in aliases for tracing patterns
Add two additional built-in trace patterns, c and cx
Diffstat (limited to 'lib/runtime_tools/src/dbg.erl')
-rw-r--r-- | lib/runtime_tools/src/dbg.erl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/runtime_tools/src/dbg.erl b/lib/runtime_tools/src/dbg.erl index 56283f4d3d..446de63064 100644 --- a/lib/runtime_tools/src/dbg.erl +++ b/lib/runtime_tools/src/dbg.erl @@ -1449,6 +1449,19 @@ new_pattern_table() -> ets:insert(PT, {exception_trace, term_to_binary(x)}), + ets:insert(PT, + {c, + term_to_binary([{'_',[],[{message,{caller}}]}])}), + ets:insert(PT, + {caller_trace, + term_to_binary(c)}), + ets:insert(PT, + {cx, + term_to_binary([{'_',[],[{exception_trace}, + {message,{caller}}]}])}), + ets:insert(PT, + {caller_exception_trace, + term_to_binary(cx)}), PT. |