no variable context print when in copybook
Using the cbl-dbg 3.2.1 (I guess it would be the same in a plain gdb session) and cobcd 3.19.
Stepping into a section that is included in a copybook currently removes all variables from the variable pane. This may be an issue with cobcd-rw or the way it is called:
--> definitions come from the program (as seen in the stack trace) --> context come from the copybook
... and not unlikely, the definitions come from a copybook that is included in the main program, which brings us back to the question if cobcd-rw should run on a pre-processed version of the program, or possibly better: the reference listing from the initial cobc is used to create an internal table of variable-names and its references.