久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何在 Qt Creator 中配置 CDB?

How to configure CDB in Qt Creator?(如何在 Qt Creator 中配置 CDB?)
本文介紹了如何在 Qt Creator 中配置 CDB?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

此處的問題與我的相同,但那里的解決方案對我不起作用.我在 Windows 7 上使用 QtCreator 2.4.1.當我嘗試調試一個簡單的 hello world 應用程序時,顯示的消息是:用于調試x86-windows-msvc2010-pe-32bit"類型二進制文件的首選調試器引擎不是可用....詳細信息:沒有可用于格式為x86-windows-msvc2010-pe-32bit"的二進制文件的 CDB 二進制文件

The question here is the same as mine but the solution there is not working for me. I am using QtCreator 2.4.1 on Windows 7. When I try to debug a simple hello world app the message displayed is: "The preferred debugger engine for debugging binaries of type 'x86-windows-msvc2010-pe-32bit' is not available....Details: There is no CDB binary available for binaries in format 'x86-windows-msvc2010-pe-32bit"

當我發現 cdb.exe 不在我的系統上時,我安裝了帶有調試器工具的 Windows SDK,并且 cdb.exe 的當前位置是C:Program Files (x86)Windows Kits8.0Debuggersx86cdb.exe"和C:Program Files (x86)Windows Kits8.0Debuggersx64cdb.exe",

When I found that cdb.exe was not on my system I had Windows SDK installed with debugger tools and the current location of cdb.exe is "C:Program Files (x86)Windows Kits8.0Debuggersx86cdb.exe" and "C:Program Files (x86)Windows Kits8.0Debuggersx64cdb.exe",

在CDB選項卡中我配置了符號服務器以及CDB.exe的路徑,但沒有成功!

In the CDB tab I configured symbol server as well as the path of CDB.exe, but in vain!

QtCreator->Tools->options->Debugger->CDB Tab->有以下字段:
附加參數
使用國行控制臺
符號路徑
源路徑
正確的斷點位置等...

QtCreator->Tools->options->Debugger->CDB Tab->has the following fields:
Additional arguments
use CDB console
Symbol Paths
Source Paths
Correct breakpoint location etc...

有人可以詳細解釋這些是什么意思以及這里期望的值是什么.有沒有人使用 Qt Creator 成功調試過任何應用程序.

Can somebody kindly explain in detail what these mean and what values are expected here. Has anybody successfully debugged any applicaiton using Qt Creator.

請參考此鏈接:
http://qt-project.org/forums/viewthread/16018/

推薦答案

我也遇到了同樣的問題,終于想出了如何解決這個問題.Styne666給了我一個提示.執行以下操作:

I was having the same problems too, and finally figured out how to solve this. Styne666 gave me a hint. Do the following:

  1. 工具
  2. 選項...
  3. 構建和運行
  4. 工具鏈
  5. 使用克隆"按鈕復制每個自動檢測到的 MSVC 項目
  6. 在每個克隆項目中,您可以在調試器"字段中指定調試器(例如 C:Program FilesWindows Kits8.0Debuggersx64cdb.exe)
  7. 此后,一切似乎都正常了...

我應該進一步提到,如果您像我一樣運行 64 位版本的 Windows 和 32 位版本的 Qt Creator,您需要確保您指向的是 32 位版本的 cdb (其中有 x86 和 x64 target 版本).所以對于 32 位目標版本,我運行這個:

I should further mention that if you are running a 64-bit version of Windows and a 32-bit version of Qt Creator like I am, you need to make sure that you are pointing to the 32-bit versions of cdb (of which there are x86 and x64 target versions). So for the 32-bit target builds I run this:

C:Program Files (x86)Windows Kits8.0Debuggersx86cdb.exe

對于 x64 構建,我運行這個:

And for x64 builds I run this:

C:Program Files (x86)Windows Kits8.0Debuggersx64cdb.exe

棘手的部分是讓 Microsoft 在您的 64 位機器上安裝 32 位版本的調試工具有些困難.一位同事最近嘗試這樣做,并說他需要安裝 Windows 8 工具才能選擇這樣做 - Windows 7 版本不會讓你這樣做.

The tricky part is that it is somewhat difficult to get Microsoft to install the 32-bit version of the debugging tools on your 64-bit machine. A co-worker tried to do so recently and said that he needed to install the Windows 8 tools in order to have the option to do that - the Windows 7 versions would not let you.

這篇關于如何在 Qt Creator 中配置 CDB?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How can I read and manipulate CSV file data in C++?(如何在 C++ 中讀取和操作 CSV 文件數據?)
In C++ why can#39;t I write a for() loop like this: for( int i = 1, double i2 = 0; (在 C++ 中,為什么我不能像這樣編寫 for() 循環: for( int i = 1, double i2 = 0;)
How does OpenMP handle nested loops?(OpenMP 如何處理嵌套循環?)
Reusing thread in loop c++(在循環 C++ 中重用線程)
Precise thread sleep needed. Max 1ms error(需要精確的線程睡眠.最大 1ms 誤差)
Is there ever a need for a quot;do {...} while ( )quot; loop?(是否需要“do {...} while ()?環形?)
主站蜘蛛池模板: 日韩精品一区二区三区视频播放 | 国产精品国产三级国产aⅴ中文 | 亚洲人在线 | 欧美激情久久久 | 日韩在线免费观看视频 | 亚洲九九 | 国产高清在线精品一区二区三区 | 国产一区中文字幕 | 特级毛片www| av在线免费播放 | 成人欧美一区二区 | 日韩另类视频 | 亚洲一区 中文字幕 | 伊人色综合久久天天五月婷 | 午夜精品视频一区 | 99久久久国产精品免费消防器 | 国产婷婷精品 | 一区二区三区精品在线视频 | 别c我啊嗯国产av一毛片 | 中文在线视频观看 | 美女黄视频网站 | 美女中文字幕视频 | 婷婷久久综合 | va精品 | 久久久久免费观看 | 视频在线观看一区二区 | 中文字幕av第一页 | 久久精品无码一区二区三区 | 一级黄a | 91视频中文 | 中文字幕日韩欧美 | 亚洲第一视频网站 | 欧美美女爱爱视频 | 欧美久久久网站 | 国产精品久久久久久 | 国产91视频播放 | 蜜臀久久99精品久久久久野外 | 欧美日韩国产高清 | 中文字幕三区 | 91高清在线视频 | 欧美一级高清片 |