'Fortran debugging in VSCode, array slicing

How do I inspect data with array slices in VSCode for fortran, I tried var(6,:,:,:), but this does not work as I get the error, "-var-create: unable to create variable object"

The compiler I use is gfortran Plugins are : Fortran breakpoint support, GDB Debugger - Beyond and Modern Fortran



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source