aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/src/dbg.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-08-31 10:16:25 +0200
committerLukas Larsson <[email protected]>2011-08-31 10:16:25 +0200
commit03b7d0ab7b998ab498349ebbffda01daadabab8c (patch)
tree82504f68cd7fa670244dd41b2144e64ae9824c07 /lib/runtime_tools/src/dbg.erl
parent20ec82caad1d8c3feee7246cf52837e6c4324f36 (diff)
parent6d8ad1f5636b25c0e344ef5eb673612b835a3ef9 (diff)
downloadotp-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.erl13
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.