Archived issue #0031095

Debugging - add code for display of TCollection_AsciiString as UTF-8 in Visual Studio debugger visualizer

Open CASCADEOCCT:Codingclosed4 public notes

Search issues

Description

Since TCollection_AsciiString can contain string in UTF-8 format, it can be useful to have an option to show its content as UTF-8 in Visual Studio debugger

Steps to reproduce

1. Run DRAW under debugger
2. Put breakpoint at function ReadStep() in XSDRAW_Commands.cxx
3. Execute:
   pload ALL
   ReadStep D 不幸な名前.stp
4. Expand variable "fnom" in debugger and check that it shows the name correctly in [utf-8] line

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 3
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Oct 9 10:37:37 2020 +0300

    0031095: Debugging - add code for display of TCollection_AsciiString as UTF-8 in Visual Studio debugger visualizer
02Commenter 2
Improved occt.natvis is pushed to branch CR31095, please review
03Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18027.820000000127 / 18057.130000000117 [-0.16%]
Products
Total CPU difference: 12174.330000000093 / 12182.170000000115 [-0.06%]
Windows-64-VC14:
OCCT
Total CPU difference: 19740.03125 / 19746.828125 [-0.03%]
Products
Total CPU difference: 13564.71875 / 13586.625 [-0.16%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 3
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records