<?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 problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83555/debug-problems</link><description>Hi, 
 I use nRF52840 and SoftDevice s140 (7.2.0). I use SEGGER Embedded Studio to compile a project written in C++. But lately I&amp;#39;ve been having trouble debugging. For example, as shown in the image below, the debug entered the if statement even though</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Jan 2022 09:24:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83555/debug-problems" /><item><title>RE: DEBUG problems</title><link>https://devzone.nordicsemi.com/thread/347537?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 09:24:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8be3ae5e-da3d-4fce-a125-f3f953509511</guid><dc:creator>Stefano1984</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thanks for the tips were helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DEBUG problems</title><link>https://devzone.nordicsemi.com/thread/347451?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 16:44:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbf4f1cc-87c4-48c0-a367-48d0122aad82</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sergi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please check which debug level and which optimization level you have. This can be found in the Project option -&amp;gt; Code Generator.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suspect that the debug information was not included.&amp;nbsp;&lt;br /&gt;Also please be noted that when the softdevice is started it&amp;#39;s not possible to step through the code as the softdevice will crash if you continue after a breakpoint.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>