We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9288837 + 87b3585 commit 6d9e8e6Copy full SHA for 6d9e8e6
apps/debug_adapter/lib/debug_adapter/server.ex
@@ -2970,8 +2970,14 @@ defmodule ElixirLS.DebugAdapter.Server do
2970
snapshot -> process_name_from_snapshot(snapshot)
2971
end
2972
else
2973
- nil -> nil
2974
- process_info -> process_name_from_info(process_info)
+ nil ->
+ case Map.get(snapshot_by_pid, pid) do
2975
+ nil -> nil
2976
+ snapshot -> process_name_from_snapshot(snapshot)
2977
+ end
2978
+
2979
+ process_info ->
2980
+ process_name_from_info(process_info)
2981
2982
2983
0 commit comments