<?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>Debug stops before main</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113167/debug-stops-before-main</link><description>Hi I&amp;#39;m trying to debug the record_text example in the nrf connect sdk. However when I attached my nrf5340 dk and hit debug in the nrf connect extension, the process stops in the following way (please check screenshots) 
 I tried using a j-link to debug</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Jul 2024 05:55:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113167/debug-stops-before-main" /><item><title>RE: Debug stops before main</title><link>https://devzone.nordicsemi.com/thread/495728?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 05:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baa9df53-a0ac-4e89-8c69-4cf68a2be96c</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We are not able to reproduce this issue with the current information.&lt;/p&gt;
&lt;p&gt;Please double check that you have configured the sample for debugging like documented in the &lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/guides/debug_use.html"&gt;How to debug section&lt;/a&gt; for the extension.&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><item><title>RE: Debug stops before main</title><link>https://devzone.nordicsemi.com/thread/495307?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2024 23:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7482966d-83a8-4fbb-9238-962512d78744</guid><dc:creator>SpicyChef</dc:creator><description>&lt;p&gt;I see the same behavior with &amp;quot;Attach to debugger option&amp;quot;&lt;br /&gt;Here is the support info&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/debug_5F00_info.txt"&gt;devzone.nordicsemi.com/.../debug_5F00_info.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug stops before main</title><link>https://devzone.nordicsemi.com/thread/495217?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2024 12:46:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25885745-4f00-47e3-b79c-470b6723bb2b</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry to hear that the DevAcademy link was not helpful.&lt;/p&gt;
&lt;p&gt;Do you see the same behaviour if you select the &amp;quot;Attach to debugger option&amp;quot; available through the three dots on the Debug action? &lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1721738575159v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If yes, please provide us with the support information generated from the VS Code extension through the headset icon: &lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1721738740660v2.png" alt=" " /&gt;&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><item><title>RE: Debug stops before main</title><link>https://devzone.nordicsemi.com/thread/494667?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 21:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea16de3e-c819-4aa4-addf-29bc927785ae</guid><dc:creator>SpicyChef</dc:creator><description>&lt;p&gt;The link you provided wasn&amp;#39;t helpful. After I hit the debug button, the FW builds and flashes okay but then execution never stops at main. Even if I put a break point it never stops&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug stops before main</title><link>https://devzone.nordicsemi.com/thread/494580?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 12:50:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47ca3bff-c122-41aa-ba68-7ba5455f580a</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please see &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/"&gt;Lesson 2 - Debugging and troubleshooting&lt;/a&gt; from the nRF Connect SDK Intermediate course on DevAcademy.&lt;/p&gt;
&lt;p&gt;Let me know if you are still facing issues after getting familiar with the lesson.&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><item><title>RE: Debug stops before main</title><link>https://devzone.nordicsemi.com/thread/494429?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 17:43:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:080c2a4d-8fa6-4520-89dc-350f87213486</guid><dc:creator>SpicyChef</dc:creator><description>&lt;p&gt;I&amp;#39;m using nrf connect sdk v2.6.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>