Skip to content

Commit

Permalink
Show ... when Dbgi has no module name
Browse files Browse the repository at this point in the history
Happens for instrumented modules from IEx.break/4.
  • Loading branch information
KronicDeth committed Aug 3, 2018
1 parent 2b4c11c commit 72d845d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class Panel(private val formsTree: Tree, project: Project): JPanel(GridLayout(1,
}

private fun moduleContext(debugInfo: AbstractCodeCompileOptions, inner: () -> String): String =
"defmodule ${debugInfo.inspectedModule!!} do \n" +
"defmodule ${debugInfo.inspectedModule ?: "..."} do \n" +
" # ... \n" +
" ${adjustNewLines(inner(), "\n ")}\n" +
" # ...\n" +
Expand Down

0 comments on commit 72d845d

Please sign in to comment.