vscode-perl-debug icon indicating copy to clipboard operation
vscode-perl-debug copied to clipboard

Hover over undefined variable shows empty box

Open hoehrmann opened this issue 5 years ago • 1 comments

When you hover over a variable that is undefined, you get a tiny empty box. It should probably show undef (and when the value is a string, put quote marks around it, so users can tell the string "undef" apart from the value undef).

hoehrmann avatar Mar 11 '19 22:03 hoehrmann

This turned out (the hard way) to be a symptom of a more general problem. Apparently there is an unwritten assumption that debug adapters generate eval-able strings in various places, https://github.com/Microsoft/debug-adapter-protocol/issues/36 including the data for hover.

hoehrmann avatar Mar 18 '19 21:03 hoehrmann