Beef icon indicating copy to clipboard operation
Beef copied to clipboard

"Step Into" doesn't work correctly if it doesn't change the line

Open disarray2077 opened this issue 3 years ago • 0 comments

In the below code, if you step into TestStep and step into the recursion, the recursion will be skipped and it will be already in i = 10.

		static void TestStep(int i = 0)
		{
			if (i < 10) TestStep(i + 1);
		}

		public static int Main(String[] args)
		{
			TestStep();
			return 0;
		}

disarray2077 avatar Feb 11 '22 17:02 disarray2077