<?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>Several issues with nRF Connect for VS Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82007/several-issues-with-nrf-connect-for-vs-code</link><description>Hello, 
 I have several issues with the new nRF Connect for VS Code SDK, I put them into one ticket, although, some of the issues could be related directly to nRF Connect SDK, not the VS Code plugin. I have latest nRF Connect SDK, latest VS Code and using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Nov 2021 09:43:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82007/several-issues-with-nrf-connect-for-vs-code" /><item><title>RE: Several issues with nRF Connect for VS Code</title><link>https://devzone.nordicsemi.com/thread/340680?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 09:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1814d67e-82af-4dae-b9a0-a99a30a7287b</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Marek,&lt;/p&gt;
[quote user=""]RTT is unreliable - in 80% cases of debugging, the RTT output is blank. And even if it works, the output is &amp;quot;damaged&amp;quot;, like my printk and zephyr boot message is mangled together. Also, when something crash inside the kernel, or assert is called, nothing is shown on RTT console, and also debugger not break on problem. (NOTE: I had higher success by manually using RTT via JLink.exe than the one integrated in VS Code)[/quote]
&lt;p&gt;Glad that you got it working. There are a few small issues which we are working on and will try to ease out in the future updates.&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;ul&gt;&lt;li&gt;It&amp;#39;s uncertain what all the &amp;quot;Debug&amp;quot; action do. Does it build the firmware if there are any modifications? Does it flash firmware? About flashing firmware, yes, it flashes it, but it&amp;#39;s nowhere clarified that Flash is being made, so it can be confusing for developer and he can instead execute Flash action and then Debug, which is adding additional time to debug.&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;Debug does build the firmware in case of modifications and flashes it onto the board. Thank you for the feedback and we will try to clarify that it is being flashed too before Debug.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote user=""]When creating launch.json, the first created configuration &amp;quot;Launch active build configuration&amp;quot; is not working, it throws error that &amp;quot;nRF Connect: Build active configuration&amp;quot; task doesn&amp;#39;t exists.[/quote]
&lt;p&gt;This might be a bug and could you try removing the &amp;quot;preLaunchEntry&amp;quot; property from your launch.json file?&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Several issues with nRF Connect for VS Code</title><link>https://devzone.nordicsemi.com/thread/340361?ContentTypeID=1</link><pubDate>Tue, 23 Nov 2021 13:59:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d256c0c-6580-4dea-aff7-6348fb014a8b</guid><dc:creator>Despair1337 </dc:creator><description>&lt;p&gt;Dear Nordic,&lt;/p&gt;
&lt;p&gt;To my first issue about RTT, I figured out how to get it working.&lt;br /&gt;Firstly, I configured&amp;nbsp;CONFIG_LOG_MODE_IMMEDIATE=y , after that, run the firmware and after that open RTT console.&lt;br /&gt;Although, sometimes when I close and re-open RTT terminal, the RTTClient doesn&amp;#39;t run at all and restart of VS Code is required.&lt;/p&gt;
&lt;p&gt;I think this issue is because of combining various apps using the JLink, like there is active RTT connection, then nrfjprog spawns new JLink.exe, then Debug spawns JLinkGDBServer etc.&lt;/p&gt;
&lt;p&gt;From my personal experience, to get reliable Flash, Debug and RTT Console, is after every build to launch JLinkGDBServer, GDB connects and flash firmware, and while all this is happening, the JLinkRTTClient is executed and connected to GDB Server (or just direct Telnet which I found more reliable to use). When using this, I never got any issues with RTT (only delayed messages, but this also happens right now in VS Code).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>