<div dir="ltr"><br clear="all"><div style>I was using Qt Creator 2.7 on Windows 7. When I try to debug an application, Qt Creator does not automatically load Locals & Expressions or the Stack etc automatically, which it used to load on 2.6.2.<br>
The same problem persists for the snapshots also (Tested on 9th May Snapshot)</div><div style>The reason seems, 2.7.0 never inserts the bb command to load current stack, while 2.6.2 does.<br>Also it does not automatically update the stack or locals as I step through the debugger. The reason is same as bb command is not called (it just calls exec-next), and I need to manually reload stack frame after every step.</div>
<div style>Is anyone else facing same problem? What could be the reason for such behavour?</div><div style><br></div><div style>NOTE:  I am using mingw -w64 build gcc 2.7.2 win32 version from mingw-w64 project (build by rubenvb) for all versions of QtCreator, Which has a gdb 7.5.50</div>
<div style><br></div><div style>Below are the Debugger Log for 2.6.2 and 2.7 Version respectively</div><div style><br></div><div style><br></div><div style>Thanks</div><div style><br></div><div style>abir</div><div style>
2.6.2 Log</div><div style>-----------------------------</div><div style><br></div><div style><div>81show version</div><div>82show debug-file-directory</div><div>83set print object on</div><div>84set breakpoint pending on</div>
<div>85set print elements 10000</div><div>86set overload-resolution off</div><div>87handle SIGSEGV nopass stop print</div><div>88set unwindonsignal on</div><div>89set width 0</div><div>90set height 0</div><div>91-interpreter-exec console "set breakpoint always-inserted on"</div>
<div>92-interpreter-exec console "set trust-readonly-sections on"</div><div>93-interpreter-exec console "set remotecache on"</div><div>94-interpreter-exec console "maintenance set internal-warning quit no"</div>
<div>95-interpreter-exec console "maintenance set internal-error quit no"</div><div>96-interpreter-exec console "disassemble 0 0"</div><div>97set substitute-path C:/iwmake/build_mingw_opensource C:/Qt/Desktop/482/mingw32</div>
<div>98set substitute-path C:/ndk_buildrepos/qt-desktop/src C:/Qt/Desktop/482/mingw32</div><div>99-interpreter-exec console "set auto-solib-add on"</div><div>100-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.6.2/share/qtcreator/dumper/bridge.py')"</div>
<div>101-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.6.2/share/qtcreator/dumper/dumper.py')"</div><div>102-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.6.2/share/qtcreator/dumper/qttypes.py')"</div>
<div>103b _wassert</div><div>b _assert</div><div>104-interpreter-exec console "bbsetup"</div><div>105-interpreter-exec console "pwd"</div><div>106-interpreter-exec console "set target-async off"</div>
<div>107-interpreter-exec console "set build-id-verbose 2"</div><div>108attach 2104</div><div>109-break-insert "\"main.cpp\":25"</div><div>110-break-insert "\"\":0"</div><div>
111-break-insert "\"\":0"</div><div>112-break-insert "\"\":0"</div><div>113-break-insert "\"\":0"</div><div>114info line *0x401c45</div><div>115break :0</div><div>
116break :0</div><div>117break :0</div><div>118break :0</div><div>119maint print msymbols C:/Users/abir/AppData/Local/Temp/gdb_ns_.qc2232</div><div>120-break-insert -f abort</div><div>121-exec-continue</div><div>122-stack-list-frames 0 20</div>
<div>123-stack-select-frame 0</div><div>124bb options:fancy,autoderef,dyntype vars: expanded:return,local,watch,inspect typeformats: formats: watchers:</div><div><Rebuild Watchmodel 3></div><div><br></div><div>------------------------------</div>
<div style>2.7 Log</div><div style>---------------------------</div><div style><div>37show version</div><div>38show debug-file-directory</div><div>39set print object on</div><div>40set breakpoint pending on</div><div>41set print elements 10000</div>
<div>42set overload-resolution off</div><div>43handle SIGSEGV nopass stop print</div><div>44set unwindonsignal on</div><div>45set width 0</div><div>46set height 0</div><div>47-interpreter-exec console "set remotecache on"</div>
<div>48-interpreter-exec console "maintenance set internal-warning quit no"</div><div>49-interpreter-exec console "maintenance set internal-error quit no"</div><div>50-interpreter-exec console "disassemble 0 0"</div>
<div>51set substitute-path C:/iwmake/build_mingw_opensource C:/Qt/Desktop/482/mingw32</div><div>52set substitute-path C:/ndk_buildrepos/qt-desktop/src C:/Qt/Desktop/482/mingw32</div><div>53set substitute-path Q:/qt5_workdir/w/s C:/Qt/Desktop/482/mingw32</div>
<div>54-interpreter-exec console "set auto-solib-add on"</div><div>55-interpreter-exec console "python print 43"</div><div>56-interpreter-exec console "pwd"</div><div>57-interpreter-exec console "set target-async off"</div>
<div>58-interpreter-exec console "set build-id-verbose 2"</div><div>59attach 6740</div><div>60-break-insert "\"main.cpp\":25"</div><div>61-break-insert "\"\":0"</div><div>
62-break-insert "\"\":0"</div><div>63info line *0x401c45</div><div>64break :0</div><div>65break :0</div><div>66maint print msymbols C:/Users/abir/AppData/Local/Temp/gdb_ns_.mU5660</div><div>67-break-insert -f abort</div>
<div>68-exec-continue</div><div>69-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.7.0/share/qtcreator/dumper/bridge.py')"</div><div>70-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.7.0/share/qtcreator/dumper/dumper.py')"</div>
<div>71-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.7.0/share/qtcreator/dumper/qttypes.py')"</div><div>72-interpreter-exec console "python qqStringCutOff = 10000"</div><div>73b _wassert</div>
<div>b _assert</div><div>74-interpreter-exec console "bbsetup"</div></div></div><div style><br></div>
</div>