<?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>&amp;quot;Enable Debug Options&amp;quot; randomly gets unchecked</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96678/enable-debug-options-randomly-gets-unchecked</link><description>Hello, 
 When I create a build configuration for development I select the &amp;quot;Enable debug options&amp;quot; and this works fine but after a few iterations of code changes and debugging this option will get randomly unchecked. I then have to re-edit the build configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Feb 2023 09:08:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96678/enable-debug-options-randomly-gets-unchecked" /><item><title>RE: "Enable Debug Options" randomly gets unchecked</title><link>https://devzone.nordicsemi.com/thread/411046?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2023 09:08:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8da50cbd-0bf5-4e62-92f2-10ed0aac5557</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;Sorry for the delayed response. I was a bit held up with another case.&lt;/p&gt;
&lt;p&gt;The Cortex Debug is an extension we provide along with nRF Connect for VSCode extension pack, but as you mentioned, it is not necessary to do this. I just wanted to know if the problem was with our nRF Debug.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is what actually happens when you enable debugging:&amp;nbsp;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/debug_concepts.html#:~:text=When%20you%20add,Call%20Stack%20View"&gt;https://nrfconnect.github.io/vscode-nrf-connect/guides/debug_concepts.html#:~:text=When%20you%20add,Call%20Stack%20View&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Enable Debug Options" randomly gets unchecked</title><link>https://devzone.nordicsemi.com/thread/410724?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 19:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a54a1c66-52c4-443a-ad7f-c83d7afeb000</guid><dc:creator>byte</dc:creator><description>&lt;p&gt;What does the Cortex-Debug extension give me that the nRF-Connect extension doesn&amp;#39;t?&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Enable Debug Options" randomly gets unchecked</title><link>https://devzone.nordicsemi.com/thread/410515?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 06:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ed32bc0-44f2-4666-83af-eed5e21d552e</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Yes, this is the extension:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676616810860v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Enable Debug Options" randomly gets unchecked</title><link>https://devzone.nordicsemi.com/thread/410465?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 19:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d844f158-a06d-4df1-b0e6-56f30b3c2eee</guid><dc:creator>byte</dc:creator><description>&lt;p&gt;I can tell that the option has been de-selected because I&amp;nbsp;don&amp;#39;t hit the first implicit breakpoint in main but in cpu_idle.S&lt;/p&gt;
&lt;p&gt;I can try explicitly setting the&amp;nbsp;&amp;nbsp;&lt;span&gt;CONFIG_DEBUG_OPTIMIZATIONS = y in prj.conf to see if I don&amp;#39;t need to set the option in the Edit Build Configuration.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is &amp;quot;Cortex Debug&amp;quot; a VSC extension?&amp;nbsp;I don&amp;#39;t have it if so.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rob&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Enable Debug Options" randomly gets unchecked</title><link>https://devzone.nordicsemi.com/thread/410258?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 09:01:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83543934-8012-451a-b96d-d2b31cc61abf</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;The &amp;quot;Enable Debug&amp;quot; options basically sets CONFIG_DEBUG_OPTIMIZATIONS = y in your prj.conf.&lt;/p&gt;
&lt;p&gt;Are you able to debug without selecting the enable debug option?&lt;/p&gt;
&lt;p&gt;Also, what is your Cortex Debug version?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Enable Debug Options" randomly gets unchecked</title><link>https://devzone.nordicsemi.com/thread/410164?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 17:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa357f5-89a3-40d0-b8e1-4081961be21c</guid><dc:creator>byte</dc:creator><description>&lt;p&gt;Hello Priyanka,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using nRF Connect SDK 2.2.0 with an nrf5340 SoC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Enable Debug Options" randomly gets unchecked</title><link>https://devzone.nordicsemi.com/thread/410115?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 14:19:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b9dfb3b-0d2a-4cdc-822b-44af4c128147</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using? Also, which is the DK or SoC that you use?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>