Making basic tracing work

pull/64/head
Lennart Kats 2014-10-20 10:57:13 +02:00
rodzic 5803e49d07
commit ab5940bb9b
3 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -314,7 +314,10 @@ module.exports = function(options) {
packagePath: "plugins/c9.ide.language.trace/trace",
extendToken: extendToken,
},
"plugins/c9.ide.language.trace/ui",
{
packagePath: "plugins/c9.ide.language.trace/ui",
workspaceDir: workspaceDir,
},
// Run
{

4
node_modules/vfs-local/localfs.js wygenerowano vendored
Wyświetl plik

@ -211,7 +211,7 @@ module.exports = function setup(fsOptions) {
var args = Array.prototype.slice.apply(arguments);
var d = domain.create();
d.on("error", function(e) {
console.error("VFS Exception in function '" + func + "':\n" + e.stack);
console.error("VFS Exception in function '" + func + "':\n", (e.stack || e));
vfs.emit("error", {
message: e.message,
func: func,
@ -220,7 +220,7 @@ module.exports = function setup(fsOptions) {
});
console.log("Scheduling process exit");
setTimeout(function() {
console.log("Exiting after uncaught exception in '" + func + "':\n" + e.stack)
console.log("Exiting after uncaught exception in '" + func + "':\n", (e.stack || e))
process.exit(1);
}, 2000);
});

Wyświetl plik

@ -28,4 +28,4 @@ var i = 0;
console.log(greeter(user), Date.now(), i++);
setInterval(function(){
console.log(greeter(user), Date.now(), i++);
}, 1000);
}, 10000);