简体   繁体   English

如何在Qt Creator中为CDB编写调试助手?

[英]How to write debugging helper for cdb in qt creator?

We're switching from using GCC/GDB in our project to MSVC 2013/CDB but would still like to use Qt Creator as the IDE. 我们正在从在项目中使用GCC / GDB切换到MSVC 2013 / CDB,但仍希望使用Qt Creator作为IDE。 One of the last remaining issues is that we have a few debug helpers written in Python for GDB for some really opaque internal data structures and we absolutely need a version of that we can use with CDB. 最后剩下的问题之一是,我们有一些用Python为GDB编写的调试助手,用于一些真正不透明的内部数据结构,我们绝对需要可与CDB一起使用的版本。
I've googled quite a bit and search qt forum, but haven't found a good starting point for how to tackle this. 我已经在Google上搜索了很多,并搜索了qt论坛,但是还没有找到解决该问题的好起点。

Since Qt Creator 4.3 you can use exactly the same debugging helpers for GDB and CDB (and LLDB). 从Qt Creator 4.3开始,您可以为GDB和CDB(和LLDB)使用完全相同的调试助手。 The syntax has changed slightly compared to 4.2 but porting should be straightforward. 与4.2相比,语法略有变化,但移植应该很简单。 It was mentioned in the release blog . 它在发布博客中提到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM