Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Debugger console: No completion inside constructors #460

@mrward

Description

@mrward

To reproduce

  1. Create a C# console app.
using System;

namespace ConsoleFooBar
{
    class Program
    {
        int abc = 10;

        Program ()
        {
            int foo = 10;
        }

        public static void Main(string[] args)
        {
            var p = new Program ();
            Console.ReadKey(true);
        }
    }
}
  1. Put a breakpoint in the constructor.
  2. Debug the application.
  3. In the Debugger Console type in this followed by the dot character.

Expected result

See completion for all members of the Program class.

Actual result:

No completion.
Looking at the DebuggerDotCompletion class the only time completion will be shown is if the debugger is within a method.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions