Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] Re: with the latest code, i dont get a console anymore when starting a js debug session?

got it:

protected boolean acceptLaunch(ILaunch launch) {
        if (launch == null) {
            return false;
        }
        if (!ILaunchManager.DEBUG_MODE.equals(launch.getLaunchMode())) {
            return false;
        }
        // FIXME test for remote session?
        return /*
                 * launch.getProcesses().length != 0 &&
                 */DLTKDebugLaunchConstants.isDebugConsole(launch);
    }

i think that FIXME is for us :)

if i disable the getProcesses().length call then i have my console again.

We do use remote debug sessions (eclipse connects to an already existing client that has the server socket and is waiting for debug connections)

johan


On Mon, Jul 27, 2009 at 13:38, Johan Compagner <jcompagner@xxxxxxxxx> wrote:
Hi,

i suddenly seem to have lost the console when i start a js debug session.

any idea what that could be?

johan



Back to the top