<?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>VS Code debugging not behaving properly</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93095/vs-code-debugging-not-behaving-properly</link><description>It seems like VS Code debugging will reset debugger if you click to reset MCU. This somehow leads to it dropping RTT. It further releases the CPU while reconnecting and halts the processor somewhere in init or idle loop of Zephyr depending on how slow</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Nov 2022 14:54:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93095/vs-code-debugging-not-behaving-properly" /><item><title>RE: VS Code debugging not behaving properly</title><link>https://devzone.nordicsemi.com/thread/394754?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 14:54:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baefc1cd-d405-4cf5-bef4-0e2dbc7195f4</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Thanks for your detailed feedback,&lt;br /&gt;&lt;br /&gt;I have made sure to add the additional SEGGER features as a feature request internally.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code debugging not behaving properly</title><link>https://devzone.nordicsemi.com/thread/392026?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 07:12:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ccb5226-f28a-4484-b8ef-54c14ae7c8c1</guid><dc:creator>Kyrre Aalerud</dc:creator><description>&lt;p&gt;VS Code is 1.72.2 and nRF pack is v2022.9.6 and we connect to nRF5340 board with similar setup to original DK using DK as programmer.&lt;br /&gt;In Segger Studio everything is fast, and was working fine (although segger has horrible code lookup, possibly from too low bits hash table?). Changing to SDK 2.1.0 with Segger no longer supported, we are forced to use VS Code.&lt;/p&gt;
&lt;p&gt;With Segger Studio, you were able to reconnect&amp;nbsp;to a device you already flashed and that had been running. There was a choice between just connecting or flash the unit and reset it. This option appears missing.&lt;/p&gt;
&lt;p&gt;In addition, hitting reset processor from debugger appears to loose connection to RTT which then has to be re-established after running target again. This looses valuable data during boot (when debugging boot). In Segger Studio this connection was re-established and no data was lost. It also reset mcu properly and&amp;nbsp;connected debugging with halted cpu at reset vector properly. With VS Code the system appears to &amp;quot;run away&amp;quot; during reset before debugger catches up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code debugging not behaving properly</title><link>https://devzone.nordicsemi.com/thread/391937?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 14:42:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5e2a9eb-2f5e-426c-b119-15291f683256</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi, &lt;br /&gt;&lt;br /&gt;What hardware are you connecting? &lt;br /&gt;&lt;br /&gt;Do you experience the slow flashing with all samples or just some?&lt;br /&gt;&lt;br /&gt;What do you mean by connecting to target without reflashing? Do you have to click flash again before you are able to debug?&amp;nbsp; &lt;br /&gt;&lt;br /&gt;What version of the extension are you using? and what version of VS code?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>