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

如何在 Qt Creator 中配置 CDB?

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

問題描述

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

當我發(fā)現(xiàn) cdb.exe 不在我的系統(tǒng)上時,我安裝了帶有調(diào)試器工具的 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->有以下字段:
附加參數(shù)
使用國行控制臺
符號路徑
源路徑
正確的斷點位置等...

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 成功調(diào)試過任何應用程序.

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給了我一個提示.執(zhí)行以下操作:

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. 在每個克隆項目中,您可以在調(diào)試器"字段中指定調(diào)試器(例如 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 位版本的調(diào)試工具有些困難.一位同事最近嘗試這樣做,并說他需要安裝 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模板網(wǎng)!

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

相關文檔推薦

How can I read and manipulate CSV file data in C++?(如何在 C++ 中讀取和操作 CSV 文件數(shù)據(jù)?)
In C++ why can#39;t I write a for() loop like this: for( int i = 1, double i2 = 0; (在 C++ 中,為什么我不能像這樣編寫 for() 循環(huán): for( int i = 1, double i2 = 0;)
How does OpenMP handle nested loops?(OpenMP 如何處理嵌套循環(huán)?)
Reusing thread in loop c++(在循環(huán) C++ 中重用線程)
Precise thread sleep needed. Max 1ms error(需要精確的線程睡眠.最大 1ms 誤差)
Is there ever a need for a quot;do {...} while ( )quot; loop?(是否需要“do {...} while ()?環(huán)形?)
主站蜘蛛池模板: 黄色三级视频在线观看 | 欧美成人性生活视频 | 中文字幕在线观看一区二区三区 | 国产精品99久久久久久久久 | 福利视频一区二区 | 亚洲国产日韩在线 | 日韩天堂网 | 国产精品毛片一区视频播 | 国产盗摄一区二区 | 成人毛片在线播放 | 国产精品久久免费 | 国产精品7777| 日韩三级精品 | 98在线视频 | 精品一区二区三区三区 | 免费看成人片 | 久久激情综合 | 中国少妇xxxxhd做受 | 日本不卡一区 | 激情视频一区 | 久久精品国产成人av | 日本成人久久 | 国产亚洲一区二区三区 | 日本视频www | 免费av网站在线观看 | 欧美激情视频一区二区三区 | 久久久久亚洲精品 | 在线观看视频一区 | 亚洲美女网站 | 国产成人一区二区三区 | 久久av一区二区三区亚洲 | 成人欧美日韩 | 欧美一级日韩一级 | 亚洲17p| 国产精品成人免费视频 | 日韩欧美国产成人 | 久久国产精品免费视频 | 国产精品hd | 欧美成人一区二区 | aaa黄色片 | 在线色网 |