public String create(String debuggerType,Map<String,String> properties) throws DebuggerException {
  DebuggerFactory factory=factories.get(debuggerType);
  if (factory == null) {
    throw new DebuggerNotFoundException("Debugger factory type '" + debuggerType + "' is not registered");
  }
  final long id=sessionId.incrementAndGet();
  Debugger debugger=factory.create(properties,null);
  debuggers.put(id,Pair.of(debuggerType,debugger));
  return String.valueOf(id);
}

public String create ( String debuggerType , Map < String , String > properties ) throws DebuggerException { DebuggerFactory factory = factories . get ( debuggerType ) ; if ( factory == null ) { throw new DebuggerNotFoundException ( "Debugger factory type '" + debuggerType + "' is not registered" ) ; } final long id = sessionId . incrementAndGet ( ) ; Debugger debugger = factory . create ( properties , null ) ; debuggers . put ( id , Pair . of ( debuggerType , debugger ) ) ; return String . valueOf ( id ) ; }
instantiates a new debugger of given type .
