Can anyone upload a patched autoexp.dat for VS2010 debugging?
I'm using Qt 5.1 and Visual Studio C++ 2010 Express. I realize I cannot use the add-in in the Express version. However, one of the things that the add-in does is patching the "autoexp.dat" file (located in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\Debugger on my machine) so that Qt types are "viewable" while debugging.
Is there anyone here with a non-express VS 2010 who can upload the patched autoexp.dat so I copy the part related to Qt and get the view-while-debugging functionality back?
Would be greatly appreciated!
Thanks,
Frankie
Re: Can anyone upload a patched autoexp.dat for VS2010 debugging?
Hi Frankie,
Here's a link to a GitHub repository with Qt5 autoexp.dat files for recent versions of Visual Studio: https://github.com/qtproject/qt-labs...ols/Qt4EEAddin
I would attach the related file(s) but it seems as if the forum won't let me upload files greater than around 30kb in size.
Also, I found the visualization for QVector given in these files to be insufficient ('error' shows for each item in the QVector), but the first answer posted here worked for me! The solution is to replace the 3 occurrences (in the visualizer section for QVector) of
Code:
expr: $c.p->array[$i]
with
Code:
expr: (($T1*)((char*)(&$c.d->ref)+(int)$c.d->offset))[$i],
(Wish I really had time to understand and verify this fix and push a change to the repository mentioned, but not currently)
I hope that helps!
Jake