rem: dd ("context '" + id + "'\n" + dumpObjectTree(cx)); 
context: function getCommandContext (id, cx){    switch (id)    {        case "popup:project":            cx = console.projectView.getContext(cx);            break;        case "popup:source":            cx = console.sourceView.getContext(cx);            break;                    case "popup:script":            cx = console.scriptsView.getContext(cx);            break;                    case "popup:stack":            cx = console.stackView.getContext(cx);            break;        default:            dd ("getCommandContext: unknown id '" + id + "'");            cx = {                commandManager: console.commandManager,                contextSource: "default"            };            break;    }    if (typeof cx == "object")    {        cx.commandManager = console.commandManager;        if (!("contextSource" in cx))            cx.contextSource = id;        dd ("context '" + id + "'\n" + dumpObjectTree(cx));    }    return cx;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1ca59c305875f65c12bbea77ec9673d88258daa5/venkman-commands.js/buggy/extensions/venkman/resources/content/venkman-commands.js