debugger: Truncate scope names to avoid text overlapping in variable list (#42230)
Anthony Eid
and
Remco Smits
created
Closes #41969
This was caused because scope names weren't being truncated unlike the
other type of variable list entries.
Release Notes:
- debugger: Fix bug where minimizing the width of the variable list
would cause scope names to overlap
Co-authored-by: Remco Smits <djsmits12@gmail.com>