<?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>new nRF Debug in VSCode hangs before main starts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92106/new-nrf-debug-in-vscode-hangs-before-main-starts</link><description>nRF Connect for VS Code v2022.9.179 on MacBook Pro M1. The new nRF Debug in VSCode hangs before main starts. If I switch back to Cortex-Debug then I can debug.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Sep 2022 21:52:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92106/new-nrf-debug-in-vscode-hangs-before-main-starts" /><item><title>RE: new nRF Debug in VSCode hangs before main starts</title><link>https://devzone.nordicsemi.com/thread/388435?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 21:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c09fc32-18be-4cd5-8f44-ddbde817817d</guid><dc:creator>denis</dc:creator><description>&lt;p&gt;I switched back to nRF Debug and am not seeing the previous issue now. &amp;nbsp;I can debug. &amp;nbsp;Not sure what changed between then and now. &amp;nbsp;I will close this and open a new issue if seen again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new nRF Debug in VSCode hangs before main starts</title><link>https://devzone.nordicsemi.com/thread/388187?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 15:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f8420d3-bf38-420e-b869-cbdd9820b4e6</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Denis,&lt;/p&gt;
&lt;p&gt;I apologize for the delay, I was out of office yesterday.&lt;/p&gt;
&lt;p&gt;Could you please clarify when the program hangs? Is it before getting to main at all, or at the beginning of the code within main? If it pauses at the beginning of the main function this seems intentional, and it happens for me as well. You can then start the debugging from the control bar.&lt;/p&gt;
&lt;p&gt;If the hanging is happening before main it may be a bug, and I need to get some additional information from you to be able to help you further. You can generate support information from the welcome menu of the extension.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new nRF Debug in VSCode hangs before main starts</title><link>https://devzone.nordicsemi.com/thread/387716?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2022 14:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a63d691-10fb-4fb1-8ddb-0a4ff6a08f62</guid><dc:creator>denis</dc:creator><description>&lt;p&gt;I am using threads.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new nRF Debug in VSCode hangs before main starts</title><link>https://devzone.nordicsemi.com/thread/387045?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2022 10:32:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b37ce2ef-8040-42e0-8f3a-30147f1c5e9b</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Denis,&lt;/p&gt;
&lt;p&gt;Thank you for reporting.&lt;/p&gt;
&lt;p&gt;This issue sounds similar to a known issue for nRF Debug which occurs when generating build configurations for simple applications which are not using threads. Does your application fall under that description? If so, there is a workaround to the issue included in the documentation for the nRF Connect for VS Code extension. The workaround can be found through this link: &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/connect/debug_app.html#debug-troubleshooting"&gt;https://nrfconnect.github.io/vscode-nrf-connect/connect/debug_app.html#debug-troubleshooting&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Let me know if the workaround works for you.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>