VSCode Version: Insider 1.14.0
- debug simple program with mono-debug
Observe: the stack frame is duplicated:

First VS Code asks for stackframes with startFrame = 0 and levels = 1.
Then mono-debug returns all frames (which happens to be exactly one).
Then VS Code asks for stackframes with startFrame = 0 and levels = 20 (probably because the first result did not return the "totalFrames" attribute and VS Code falls back to the old behavior).
Then mono-debug returns all frames again and VS Code adds them to the existing one instead of replacing the existing one.
Then I tried a program where the stacktrace has one additional level but this doesn't make a difference:

VSCode Version: Insider 1.14.0
Observe: the stack frame is duplicated:
First VS Code asks for stackframes with startFrame = 0 and levels = 1.
Then mono-debug returns all frames (which happens to be exactly one).
Then VS Code asks for stackframes with startFrame = 0 and levels = 20 (probably because the first result did not return the "totalFrames" attribute and VS Code falls back to the old behavior).
Then mono-debug returns all frames again and VS Code adds them to the existing one instead of replacing the existing one.
Then I tried a program where the stacktrace has one additional level but this doesn't make a difference: