<?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>Unable to use debugger in VS Code using nRF Connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79881/unable-to-use-debugger-in-vs-code-using-nrf-connect</link><description>Similar, unresolved issue can be seen here . 
 
 
 I just got my official nRF52840DK and setup nRF Connect on my MacBook. I&amp;#39;m able to build the Blinky example and flash it to the board. However when launching debug mode there seems to be some kind of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Sep 2021 13:29:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79881/unable-to-use-debugger-in-vs-code-using-nrf-connect" /><item><title>RE: Unable to use debugger in VS Code using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/330690?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 13:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd403796-dba1-4ddd-9eeb-a4b8e9f976ae</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have only been able to reproduce this issue when having checked the &amp;quot;Enable debug options&amp;quot; box when generating the Build Configuration together with samples that do not use threads. Can you see if this is the case in your setup as well? For instance, you should be able to debug &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/blinky/README.html"&gt;Blinky&lt;/a&gt; if you do &lt;em&gt;not&lt;/em&gt; select&amp;nbsp;&amp;quot;Enable debug options&amp;quot;, and all samples that use threads (like the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/threads/README.html"&gt;Basic Thread Example&lt;/a&gt; and most complex samples) should work with&amp;nbsp;&amp;quot;Enable debug options&amp;quot; enabled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Checking &amp;quot;Enable debug options&amp;quot; adds several options to aid in debugging, including options that adds thread info structures to the firmware. This&amp;nbsp;in turn is used by the&amp;nbsp;Zephyr RTOS plugin for JlinkGDBserver. We suspect there is a bug here that causes this issue when no threads are used and will continue to look into that.&lt;/p&gt;
&lt;p&gt;In a nutshell: Leave&amp;nbsp;&amp;quot;Enable debug options&amp;quot; &lt;em&gt;unchecked&lt;/em&gt; for samples that does not use threads.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update&lt;/em&gt;: A workaround is to be to start debugging by Run -&amp;gt; Start Debugging (or pressing F5) instead of starting by clicking the &amp;quot;Debug Application&amp;quot; icon within the nRF Connect for VS Code plugin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use debugger in VS Code using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/330655?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 12:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85e552b1-ff87-4609-acbe-3ca00875ec9c</guid><dc:creator>wbober</dc:creator><description>&lt;p&gt;Hi AustinE,&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t know yet what is causing this but some users report similar issue. We will look into this.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Wojtek&lt;/p&gt;
&lt;p&gt;VSC Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use debugger in VS Code using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/330649?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 12:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f8d1a0-0eee-43b2-bce0-286bdd136fd6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, it seems this is the same issue as in the thread you linked to. We have seen a few instanced of this issue, and the team behind the nRF Connect for VS Code plugin is looking into it. Unfortunately we do not have a explanation or fix at the moment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>