Perhaps I’m doing something wrong, but I don’t think so…
I was watching the debugger and it appeared to show, in the local variables pane, that a variable wasn’t getting set. But it is. When I look at the same variable in the watch expressions window, it is correct, and it is correct in execution. See the attached screenshot, and notice the different values for both “endpoint” and “instance” in the different panes. Also, note that we use
let endpoint = xxx, but I tried this with
var endpoint = xxx with the same result.
Any thoughts? Or is this a debugger bug? If the latter, it’s a painful one!