Skip to content

Instantly share code, notes, and snippets.

@hntrmrrs
Created November 26, 2008 17:06
Show Gist options
  • Save hntrmrrs/29452 to your computer and use it in GitHub Desktop.
Save hntrmrrs/29452 to your computer and use it in GitHub Desktop.
Mods = [sets], rdbg:rdbg(5000, 1000, all, lists:foldl(fun(M, L) -> [{M,F1,[return,stack]} || F1 <- sets:to_list(lists:foldl(fun({F,_}, S) -> sets:add_element(F, S) end, sets:new(), proplists:get_value(exports, M:module_info())))] ++ L end, [], Mods)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment