<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Immediate window in QT Creator?]]></title><description><![CDATA[<p dir="auto">I have been working with Visual Studio and find the immediate window there very usefull for debugging, Does QT Creator have something like that? Currently on QT Creator 4.11.0.</p>
]]></description><link>https://forum.qt.io/topic/110321/immediate-window-in-qt-creator</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 22:42:39 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/110321.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Jan 2020 08:28:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Immediate window in QT Creator? on Sat, 04 Jan 2020 12:00:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/gertio">@<bdi>Gertio</bdi></a>,</p>
<p dir="auto">for QML there is indeed the Debugger Console, as <a class="plugin-mentions-user plugin-mentions-a" href="/user/kiranachari-shilpi">@<bdi>Kiranachari-Shilpi</bdi></a>'s link shows.</p>
<p dir="auto">For C++, you can at least <a href="https://doc.qt.io/qtcreator/creator-debug-mode.html#evaluating-expressions" target="_blank" rel="noopener noreferrer nofollow ugc">evaluate expressions</a>.</p>
<p dir="auto">Some more functions might be available with direct debugger commands in the Windows &gt; Views &gt; Debugger Log. In principle you should be able to call functions from there, but I've never tried that.</p>
<p dir="auto">To sum up, some of the functionality is there, but not as nicely prepared as in VS. But it comes for free...</p>
<p dir="auto">Regards</p>
<p dir="auto">Edit: You may also comment and vote on <a href="https://bugreports.qt.io/browse/QTCREATORBUG-19870" target="_blank" rel="noopener noreferrer nofollow ugc">QTCREATORBUG-19870</a> to improve the Debugger Console for C++.</p>
]]></description><link>https://forum.qt.io/post/570400</link><guid isPermaLink="true">https://forum.qt.io/post/570400</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Sat, 04 Jan 2020 12:00:32 GMT</pubDate></item><item><title><![CDATA[Reply to Immediate window in QT Creator? on Sat, 04 Jan 2020 10:55:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/kiranachari-shilpi">@<bdi>Kiranachari-Shilpi</bdi></a> ,<br />
Thank you for reply, but my question was not "Does QT Creator have debug mode?", it was "Does QT Creator have Immediate window?"</p>
]]></description><link>https://forum.qt.io/post/570395</link><guid isPermaLink="true">https://forum.qt.io/post/570395</guid><dc:creator><![CDATA[Gertio]]></dc:creator><pubDate>Sat, 04 Jan 2020 10:55:01 GMT</pubDate></item><item><title><![CDATA[Reply to Immediate window in QT Creator? on Sat, 04 Jan 2020 10:52:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/gertio">@<bdi>Gertio</bdi></a><br />
Ofcourse we have debugging mode in Qt Creator ,<br />
select a break point line on the program editor by clicking on the line number, red mark symbol will come after that you can see bottom left corner a Start debugging option upon click debugging will start , step by step iteration from the point of Break Point marked, another window open and show the compilation output and program flow .<br />
<a href="https://doc.qt.io/qtcreator/creator-qml-debugging-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">Here is the one example showing the debugging mode. </a></p>
]]></description><link>https://forum.qt.io/post/570393</link><guid isPermaLink="true">https://forum.qt.io/post/570393</guid><dc:creator><![CDATA[Kiranachari Shilpi]]></dc:creator><pubDate>Sat, 04 Jan 2020 10:52:50 GMT</pubDate></item><item><title><![CDATA[Reply to Immediate window in QT Creator? on Sat, 04 Jan 2020 08:38:33 GMT]]></title><description><![CDATA[<p dir="auto">To tell shortly: While debugging and stopping on a breakpoint, you can insert C++ commands directly in there and return is printed. Something like python, where you start command line and type in "1+1" and it prints "2", you can use the variables there available at that brak point and also call functions, which were compiled. If you want to know more just google for visual studio immediate window.</p>
<p dir="auto">It is usefull if you want to e.g. fix a bug but dont know if something you have in mind will work, so you just use break point and then use that window and see if it returns the desired result. That way you dont have to restart the debugging for the possible ways to fix a bug (if there could be more than one way and you search for the most  suitable one)</p>
]]></description><link>https://forum.qt.io/post/570384</link><guid isPermaLink="true">https://forum.qt.io/post/570384</guid><dc:creator><![CDATA[Gertio]]></dc:creator><pubDate>Sat, 04 Jan 2020 08:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to Immediate window in QT Creator? on Sat, 04 Jan 2020 08:30:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/gertio">@<bdi>Gertio</bdi></a> ,</p>
<p dir="auto">What is the "immediate window"?</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.qt.io/post/570383</link><guid isPermaLink="true">https://forum.qt.io/post/570383</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Sat, 04 Jan 2020 08:30:22 GMT</pubDate></item></channel></rss>