[英]Qt creator debug string (show content)
我正在使用 QT Creator 3.0.0、clang 3.5 和 gdb 調試器。 當我想在調試器中查看字符串值時,我必須展開六個項目以連續查看一個字母的字符串內容。 這是一個屏幕截圖: 如何更輕松地查看字符串內容?
我也看不到矢量和其他容器的內容。
對於 QT Creator 4.10,右鍵單擊要檢查的變量並選擇“更改值顯示格式”選項,然后在“單獨窗口”中選擇“ UTF-8 字符串” 。
這應該是出廠就可以了。 您是否檢查了本地/變量視圖中上下文菜單中的“啟用調試助手”選項是否已啟用。
[英]Qt emit signal std::string parameter debug
[英]How to clear a label in qt creator
[英]Efficient custom string creator
[英]how to convert QString into int in qt creator
[英]For loop output to a string in qt
[英]Qt string termination
[英]Qt string problems
[英]qt “resource” string
[英]Displaying a string in debug mode
[英]Qt “tcpserver->write(string)”
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.