<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RTT console when using gdb from vscode (nrf5340, similar to JLinkRTTViewer) ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94660/rtt-console-when-using-gdb-from-vscode-nrf5340-similar-to-jlinkrttviewer</link><description>Is it possible to view RTT console outputs in vscode during a debug session? I would like to see RTT console outputs right from the start, e.g. from bootloader, preferably in a terminal inside vscode. It works with JLinkRTTViewer but not when a GDBserver</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Dec 2022 10:32:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94660/rtt-console-when-using-gdb-from-vscode-nrf5340-similar-to-jlinkrttviewer" /><item><title>RE: RTT console when using gdb from vscode (nrf5340, similar to JLinkRTTViewer) ?</title><link>https://devzone.nordicsemi.com/thread/399611?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2022 10:32:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abad7754-b648-42e4-99e5-ca288d4b8350</guid><dc:creator>mbn</dc:creator><description>&lt;p&gt;Found solution here:&lt;a href="https://github.com/Marus/cortex-debug/wiki/SEGGER-RTT-support"&gt;github.com/.../SEGGER-RTT-support&lt;/a&gt;&lt;br /&gt;Adding a default &amp;quot;rttConfig&amp;quot; to vscode&amp;nbsp;launch config, created a new terminal called port0 inside vsvode and RTT copnmsole output from mcuboot was logged.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;            &amp;quot;breakAfterReset&amp;quot;: false,
            &amp;quot;rttConfig&amp;quot;: {
                &amp;quot;enabled&amp;quot;: true,
                &amp;quot;address&amp;quot;: &amp;quot;auto&amp;quot;,
                &amp;quot;decoders&amp;quot;: [
                    {
                        &amp;quot;label&amp;quot;: &amp;quot;port0&amp;quot;,
                        &amp;quot;port&amp;quot;: 0,
                        &amp;quot;type&amp;quot;: &amp;quot;console&amp;quot;
                    }
                ]
            },
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>