Question
Jonathan Lent · Aug 4

Variable values appear corrupt in VSCode debugger

I've faced a problem that happens while debugging a process in VSCode. It doesn't seem to matter if this is in a container, on my development VM, or against a locally installed version of IRIS. The problem seems to be mostly with X12 Documents.

So, in a debug session, I can dump out a value to the debug console and it loos correct. The same variable in VSCode appears to be some uninitialized memory location.

In the interactive debugger window:

In the Variables Window:

Host Workstation:

It's not all variables, as you can see, and it always seems to to be same garbage values that get populated. Has anybody else run across this and found a resolution?

Thanks in advance for any help, folks!

Product version: IRIS 2022.1
$ZV: IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2022.1 (Build 209U) Tue May 31 2022 12:28:22 EDT
0
0 156
Discussion (4)1
Log in or sign up to continue

Wow, good eye on that. Yes, that pattern holds true: