<?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>cannot debug local variable startup_event in segger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59791/cannot-debug-local-variable-startup_event-in-segger</link><description>Hi, 
 I am evaluating the ble_app_hrs_pca10056_s140 project with nRF5SDK160098a08e2 Dev kit and nRF82540 dev board. 
 I have put a breakpoint in line: 
 *p_erase_bonds = (startup_event == BSP_EVENT_CLEAR_BONDING_DATA); 
 as shown in screenshot, but the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Apr 2020 16:07:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59791/cannot-debug-local-variable-startup_event-in-segger" /><item><title>RE: cannot debug local variable startup_event in segger</title><link>https://devzone.nordicsemi.com/thread/243443?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 16:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538d8eb7-6aed-4bd4-99d1-af602424d9f4</guid><dc:creator>Gil</dc:creator><description>&lt;p&gt;It worked. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: cannot debug local variable startup_event in segger</title><link>https://devzone.nordicsemi.com/thread/243104?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 08:03:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3510f48-4ab5-493c-8c1b-8c631888fb36</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Gil,&lt;/p&gt;
&lt;p&gt;Have you made sure to turn off code optimization? The easiest way to do that is to select the &amp;quot;Debug&amp;quot; configuration from the drop-down menu in the top left corner of SES before building.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d2ecb75cdaf14ba9ad16c094bf984e17/pastedimage1585814621479v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>