Пример #1
0
        protected override InitializeResponse HandleInitializeRequest(InitializeArguments arguments)
        {
            if (arguments.LinesStartAt1 == true)
            {
                this.clientsFirstLine = 1;
            }

            this.Protocol.SendEvent(new InitializedEvent());

            return(new InitializeResponse(
                       supportsConfigurationDoneRequest: true,
                       supportsSetVariable: true,
                       supportsDebuggerProperties: true,
                       supportsModulesRequest: true,
                       supportsSetExpression: true,
                       supportsExceptionOptions: true,
                       supportsExceptionConditions: true,
                       supportsExceptionInfoRequest: true,
                       supportsValueFormattingOptions: true,
                       supportsEvaluateForHovers: true,

                       // Additional module columns to support VS's "Modules" window
                       additionalModuleColumns: new List <ColumnDescriptor>()
            {
                new ColumnDescriptor(attributeName: "vsLoadAddress", label: "Load Address", type: ColumnDescriptor.TypeValue.String),
                new ColumnDescriptor(attributeName: "vsPreferredLoadAddress", label: "Preferred Load Address", type: ColumnDescriptor.TypeValue.String),
                new ColumnDescriptor(attributeName: "vsModuleSize", label: "Module Size", type: ColumnDescriptor.TypeValue.Number),
                new ColumnDescriptor(attributeName: "vsLoadOrder", label: "Order", type: ColumnDescriptor.TypeValue.Number),
                new ColumnDescriptor(attributeName: "vsTimestampUTC", label: "Timestamp", type: ColumnDescriptor.TypeValue.UnixTimestampUTC),
                new ColumnDescriptor(attributeName: "vsIs64Bit", label: "64-bit", type: ColumnDescriptor.TypeValue.Boolean),
                new ColumnDescriptor(attributeName: "vsAppDomain", label: "AppDomain", type: ColumnDescriptor.TypeValue.String),
            }
                       ));
        }
Пример #2
0
        protected override InitializeResponse HandleInitializeRequest(InitializeArguments arguments)
        {
            Protocol.SendEvent(new InitializedEvent());

            return(new InitializeResponse()
            {
                SupportsEvaluateForHovers = true,
                SupportsExceptionInfoRequest = true,
                SupportsStepBack = trace,
                ExceptionBreakpointFilters = new List <ExceptionBreakpointsFilter>
                {
                    new ExceptionBreakpointsFilter(
                        DebugSession.CAUGHT_EXCEPTION_FILTER,
                        "Caught Exceptions")
                    {
                        Default = false
                    },
                    new ExceptionBreakpointsFilter(
                        DebugSession.UNCAUGHT_EXCEPTION_FILTER,
                        "Uncaught Exceptions")
                    {
                        Default = true
                    }
                }
            });
        }
Пример #3
0
 protected override InitializeResponse HandleInitializeRequest(InitializeArguments arguments)
 {
     return(new InitializeResponse()
     {
         SupportsSetVariable = true,
         SupportsEvaluateForHovers = true
     });
 }
Пример #4
0
        protected override InitializeResponse HandleInitializeRequest(InitializeArguments arguments)
        {
            Protocol.SendEvent(new InitializedEvent());

            return(new InitializeResponse()
            {
                SupportsEvaluateForHovers = true,
            });
        }
Пример #5
0
 protected override InitializeResponse HandleInitializeRequest(InitializeArguments arguments)
 {
     Protocol.SendEvent(new InitializedEvent());
     Protocol.SendEvent(new ThreadEvent(ThreadEvent.ReasonValue.Started, 0));
     return
         (new InitializeResponse
     {
         SupportsConfigurationDoneRequest = true,
         SupportsSetVariable = false,
         SupportsDebuggerProperties = false,
         SupportsModulesRequest = false,
         SupportsSetExpression = false,
         SupportsExceptionOptions = false,
         SupportsExceptionConditions = false,
         SupportsExceptionInfoRequest = false,
         SupportsValueFormattingOptions = false,
         SupportsEvaluateForHovers = true,
         SupportsConditionalBreakpoints = false,
         SupportsCompletionsRequest = false,
         SupportsDataBreakpoints = false,
         SupportsDelayedStackTraceLoading = false,
         SupportsDisassembleRequest = false,
         SupportsFunctionBreakpoints = false,
         SupportsGotoTargetsRequest = false,
         SupportsHitConditionalBreakpoints = false,
         SupportsLoadedSourcesRequest = false,
         SupportsLoadSymbolsRequest = false,
         SupportsLogPoints = false,
         SupportsModuleSymbolSearchLog = false,
         SupportsReadMemoryRequest = false,
         SupportsRestartFrame = false,
         SupportsRestartRequest = false,
         SupportsSetSymbolOptions = false,
         SupportsStepBack = false,
         SupportsStepInTargetsRequest = false,
         SupportsTerminateRequest = false,
         SupportsTerminateThreadsRequest = false,
         SupportTerminateDebuggee = false
     });
 }
Пример #6
0
        protected override InitializeResponse HandleInitializeRequest(InitializeArguments arguments)
        {
            if (arguments.LinesStartAt1 == true)
            {
                this.clientsFirstLine = 1;
            }

            var res = new InitializeResponse()
            {
                SupportsConfigurationDoneRequest = true,
                SupportsSetVariable            = true,
                SupportsConditionalBreakpoints = true,
                SupportsDebuggerProperties     = true,
                SupportsSetExpression          = true,
                SupportsExceptionOptions       = true,
                SupportsExceptionConditions    = true,
                SupportsExceptionInfoRequest   = true,
                SupportsValueFormattingOptions = true,
                SupportsEvaluateForHovers      = true,
            };

            return(res);
        }
 public void initialize(InitializeArguments args)
 {
     lock (lockObj)
     {
         if (!args.Entity.IsInitialized)
         {
Пример #8
0
 public InitializeResult Initialize(EphorteIdentity identity, InitializeArguments arguments)
 {
     throw new System.NotImplementedException();
 }