You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defimpl Inspect, for: MySchema do
def inspect(term, opts) do
IO.puts(term)
[]
end
end
We used inspect when checking out variables. It probably leads to a deadlock somewhere. The same does not happen for Enumerable and custom protocol implementations
The text was updated successfully, but these errors were encountered:
lukaszsamson
changed the title
Debugger times out when resolving variables inside protocol implementation
Debugger deadlock when resolving variables inside Inspect protocol implementation
Jul 10, 2023
* break in all protocol implementations
* test unsetting implementation breakpoint
* add test
* implement fallback to runtime modules inspection
* more tests and logs
* cache module_info of interpreted modules
call to module_info may deadlock when stopped on a breakpoint
Fixes#940
* format
* Handle errors in setting breakpoints
Disallow setting breakpoints in Inspect protocol implementations
Disallow setting breakpoints in builtin protocols and JasonV.Encoder protocol
Fixes#900Fixes#903Fixes#942
Break on IO.puts
We used inspect when checking out variables. It probably leads to a deadlock somewhere. The same does not happen for Enumerable and custom protocol implementations
The text was updated successfully, but these errors were encountered: