redbug icon indicating copy to clipboard operation
redbug copied to clipboard

Why redbug can not trace the un-exported function? What should I set?

Open tclugao opened this issue 2 years ago • 1 comments

as the following pic. the function handle is exported, and function select_option is not exported image

tclugao avatar Nov 09 '23 05:11 tclugao

Hi, first of all you are running an old (more than 4 year old) version of redbug.

New syntax would be something in the style of

1> redbug:start(["nurse_call_callback_handler:select_option"], #{msgs => 1_000_000, time => 100_000}).

Anyway, without a minimal example or access to your module it is impossible to answer your question.

I would suggest two things: upgrade to latest redbug, or add the module nurse_call_callback_handler as example here.

sebastiw avatar Aug 12 '24 16:08 sebastiw

please reopen if you have more issues.

sebastiw avatar Dec 09 '24 10:12 sebastiw