* Only show last two elements of script path in debugger.
(Assume common case it is the prototype and the script.)
This commit is contained in:
parent
24e878c176
commit
3aa000e95b
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ public class HelmaDebugger extends Main implements TreeSelectionListener {
|
||||||
String[] path = StringUtils.split(sourceName, ":/\\");
|
String[] path = StringUtils.split(sourceName, ":/\\");
|
||||||
DebuggerTreeNode node = treeRoot;
|
DebuggerTreeNode node = treeRoot;
|
||||||
DebuggerTreeNode newNode = null;
|
DebuggerTreeNode newNode = null;
|
||||||
for (int i = 1; i < path.length; i++) {
|
for (int i = path.length-2; i < path.length; i++) {
|
||||||
DebuggerTreeNode n = node.get(path[i]);
|
DebuggerTreeNode n = node.get(path[i]);
|
||||||
if (n == null) {
|
if (n == null) {
|
||||||
n = new DebuggerTreeNode(path[i]);
|
n = new DebuggerTreeNode(path[i]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue