microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StackOverflowException when using Visual Studio 2022 debugger

mkulisic opened this issue · comments

Visual Studio 2022
**Framework: ** net6.0
**Library version: ** 11.2.2

I've been building a utility to translate odata queries into kusto queries. The final step of this translation shouldbe using the KustoCode.Parse() function in order to verify that the query generated by my utility is valid. When I run the code below I don't get any issues, but when I run it with the debugger I get a StackoverflowException as shown in the image.

image

Not being able to use my debugger in the tester project is very inconvenient. Specially since I can't find documentation for the diagnostic settings outputted by the function.

The overflow is inside the ValidateKustoQuery method. It calls itself.