Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-01-12 21:33:10 +0300
committerRyan Dahl <ry@tinyclouds.org>2011-01-12 21:33:10 +0300
commit72589b60ada148467caa42912585316cde0ce3e8 (patch)
tree47735a195fd955aa1808ea3b6135f03f703b15d1
parent1b63bd16ed56df5d03f04da6c19f9a50a451b638 (diff)
debugger: Only display basename of scripts
-rw-r--r--lib/_debugger.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js
index 422858ee43e..6a584ea8d38 100644
--- a/lib/_debugger.js
+++ b/lib/_debugger.js
@@ -853,7 +853,7 @@ Interface.prototype.printScripts = function(displayNatives) {
script.name == client.currentScript ||
!script.isNative) {
text += script.name == client.currentScript ? '* ' : ' ';
- text += script.name + '\n';
+ text += require('path').basename(script.name) + '\n';
}
}
}