Permalink
Browse files

fixed debugger state handling inside c9

  • Loading branch information...
1 parent 08a3706 commit ad1d93d085e92679e2d68478642a1ffff01f59f7 @mikedeboer mikedeboer committed Aug 26, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 client/ext/noderunner/noderunner.js
@@ -60,7 +60,7 @@ module.exports = ext.register("ext/noderunner/noderunner", {
onMessage : function(e) {
var message = e.message;
-// console.log("MSG", message)
+ //console.log("MSG", message)
switch(message.type) {
case "node-debug-ready":
@@ -88,8 +88,8 @@ module.exports = ext.register("ext/noderunner/noderunner", {
break;
case "state":
- stDebugProcessRunning.setProperty("active", message.nodeDebugClient);
- stProcessRunning.setProperty("active", e.message.nodeProcessRunning || e.message.pythonProcessRunning);
+ stDebugProcessRunning.setProperty("active", message.debugClient || message.nodeDebugClient);
+ stProcessRunning.setProperty("active", message.processRunning || message.nodeProcessRunning || message.pythonProcessRunning);
dbgNode.setProperty("strip", message.workspaceDir + "/");
ide.dispatchEvent("noderunnerready");
break;

0 comments on commit ad1d93d

Please sign in to comment.