ferd / recon

Collection of functions and scripts to debug Erlang in production.
http://ferd.github.io/recon/
BSD 3-Clause "New" or "Revised" License
1.37k stars 279 forks source link

need to switch the variable name for Init & Cur? #114

Open pangxiaozhen77 opened 2 weeks ago

pangxiaozhen77 commented 2 weeks ago

https://github.com/ferd/recon/blob/98d0c80cbab050d7cd710e74fb751aad0b2bd468/src/recon_lib.erl#L95

ferd commented 2 weeks ago

what seems to be the problem here?

pangxiaozhen77 commented 2 weeks ago

the third value will return the current function, but the variable name is Init here

ferd commented 2 weeks ago

Ah I see. Argument list is swapped but content is otherwise okay just because the order is wrong. Yeah that could be a valid little fix.