/** * Called after debugger has been connected. * * <p>Here we send all the initialization commands and exceptions on which pydev debugger needs to * break */ public void initialize() { // we post version command just for fun // it establishes the connection this.postCommand(new VersionCommand(this)); // now, register all the breakpoints in all projects addBreakpointsFor(ResourcesPlugin.getWorkspace().getRoot()); // Sending python exceptions and property trace state before sending run command this.onSetConfiguredExceptions(); this.onSetPropertyTraceConfiguration(); // Send the run command, and we are off RunCommand run = new RunCommand(this); this.postCommand(run); }