runConfig : function(config, debug) { ext.initExtension(this); var model = settings.model; var saveallbeforerun = apf.isTrue(model.queryValue("general/@saveallbeforerun")); if (saveallbeforerun) save.saveall(); if (debug === undefined) debug = config.parentNode.getAttribute("debug") == "1"; var lastNode = apf.queryNode(config, "../node()[@last]"); if (lastNode) apf.xmldb.removeAttribute(lastNode, "last"); apf.xmldb.setAttribute(config, "last", "true"); // dispatch here instead of in the implementation because the implementations // will vary over time ide.dispatchEvent("beforeRunning"); noderunner.run( config.getAttribute("path"), (config.getAttribute("args") || "").split(" "), debug, ddRunnerSelector.value ); },
runConfig : function(config, debug) { //ext.initExtension(this); var model = settings.model; var saveallbeforerun = apf.isTrue(model.queryValue("general/@saveallbeforerun")); if (saveallbeforerun) save.saveall(); if (debug === undefined) debug = config.parentNode.getAttribute("debug") == "1"; var lastNode = apf.queryNode(config, "../node()[@last]"); if (lastNode) apf.xmldb.removeAttribute(lastNode, "last"); apf.xmldb.setAttribute(config, "last", "true"); self["txtCmdArgs"] && txtCmdArgs.blur(); // fix the args cache issue #2763 // dispatch here instead of in the implementation because the implementations // will vary over time ide.dispatchEvent("beforeRunning"); var args = config.getAttribute("args"); noderunner.run( config.getAttribute("path"), args ? args.split(" ") : [], debug, config.getAttribute("value") ); },
runConfig : function(config, debug) { var model = settings.model; var saveallbeforerun = model.queryValue("general/@saveallbeforerun"); if (saveallbeforerun) save.saveall(); if (debug === undefined) debug = config.parentNode.getAttribute("debug") == "1"; // if(debug) // dock.showSection(["ext/debugger/debugger", "ext/run/run"], true); config.parentNode.setAttribute("debug", "0"); noderunner.run(config.getAttribute("path"), config.getAttribute("args").split(" "), debug); },
runConfig : function(config, debug) { var model = settings.model; var saveallbeforerun = apf.isTrue(model.queryValue("general/@saveallbeforerun")); if (saveallbeforerun) save.saveall(); if (debug === undefined) debug = config.parentNode.getAttribute("debug") == "1"; var lastNode = apf.queryNode(config, "../node()[@last]"); if (lastNode) apf.xmldb.removeAttribute(lastNode, "last"); apf.xmldb.setAttribute(config, "last", "true"); noderunner.run(config.getAttribute("path"), (config.getAttribute("args") || "").split(" "), debug); },