[severity:It’s more difficult to complete my work]
I have a Linux process running under WSL, and I debug it from Visual Studio 2022 using Native (GDB) option. The source files, symbols, etc. is available to VS; breakpoints work OK. Python pretty printers are enabled in GDB, and proper Microsoft.MIEngine.Options.xml is in the VS solution’s directory; the pretty printers work in VS IDE.
The problem is: I see inner structure of all objects, except those that have pretty printers. For those latter, I only see the string returned by the pretty printers, and no way to expand them to see the undecorated inner structure. I need to be able to expand those objects, too; and see an item like [Raw View] available when debugging Windows native processes with a natvis file.
This is how an OUString object looks when debugging a Windows native process, with a custom natvis file:
This is how the same object looks, when debugging a Linux process with GDB pretty printers:
See that there is no way to expand the popup.
This is how the same process debugging works with pretty printers disabled (Microsoft.MIEngine.Options.xml removed):
The inner structure is shown, but no pretty printing makes is uncomfortable.
This issue has been moved from a ticket on Developer Community.
[severity:It’s more difficult to complete my work]
I have a Linux process running under WSL, and I debug it from Visual Studio 2022 using Native (GDB) option. The source files, symbols, etc. is available to VS; breakpoints work OK. Python pretty printers are enabled in GDB, and proper
Microsoft.MIEngine.Options.xml
is in the VS solution’s directory; the pretty printers work in VS IDE.The problem is: I see inner structure of all objects, except those that have pretty printers. For those latter, I only see the string returned by the pretty printers, and no way to expand them to see the undecorated inner structure. I need to be able to expand those objects, too; and see an item like
[Raw View]
available when debugging Windows native processes with anatvis
file.This is how an
OUString
object looks when debugging a Windows native process, with a customnatvis
file:This is how the same object looks, when debugging a Linux process with GDB pretty printers:
See that there is no way to expand the popup.
This is how the same process debugging works with pretty printers disabled (
Microsoft.MIEngine.Options.xml
removed):The inner structure is shown, but no pretty printing makes is uncomfortable.
Original Comments
Feedback Bot on 11/2/2023, 05:34 PM:
(private comment, text removed)
Original Solutions
(no solutions)