sa___
sa___

Reputation: 363

Erlang debugging: Natively compiled modules breaking tools like recon and redbug

I'm using erlang 17.3 and can confirm that tracing tools like redbug and recon do not work on modules compiled with +native flag. Is this expected ? I can't find any documentation on the web that would confirm this behavior. If it's not a bug, then i'd like to know my options of debugging HiPE compiled code in anger.

Upvotes: 0

Views: 69

Answers (1)

Tracing does not seem to be supported by the native compiler according to its doctumentation:

Tracing
Erlang call trace is not supported by HiPE. Calling erlang:trace_pattern({M,F,A}, ...) does not have any effect on HiPE compiled modules.

Upvotes: 0

Related Questions