Debugger enters a second level of the same function

Julia sometimes internally defines multiple “versions” of a function. When it comes to keyword functions there is first a function that “sorts” the keyword arguments and then passes the result on to a generated inner function that does the actual computation. From the debuggers point of view, these look like two separate function even though the user only wrote one function.

Keyword functions have in general been quite tricky to handle completely satisfactory in the debugger.

3 Likes