<?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>about setting bread point using IAR after running ble softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12043/about-setting-bread-point-using-iar-after-running-ble-softdevice</link><description>Dear all, 
 I have tried using a setting a break point in main() of my program. Without running the softdevice, it is fine to pause in the break point and continue to run my program. However, after I init the softdevice and pause at a break point. The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Feb 2016 09:41:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12043/about-setting-bread-point-using-iar-after-running-ble-softdevice" /><item><title>RE: about setting bread point using IAR after running ble softdevice</title><link>https://devzone.nordicsemi.com/thread/45586?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 09:41:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dcdc285-56e9-4ae9-816d-29d0177825a9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;When you hit a breakpoint there&amp;#39;s only the CPU that is being halted while the timers are kept running. This causes the real time requirements of the softdevice stack to be exceeded once execution is resumed afterwards.  An option is to set the primask register to stop stack interrupts from being serviced as explained in this &lt;a href="https://devzone.nordicsemi.com/question/1489/can-i-debug-ble-program/"&gt;thread&lt;/a&gt;, but note the mentioned limitation with this approach.&lt;/p&gt;
&lt;p&gt;Note that errors in the softdevice API can commonly be caught by setting a breakpoint in the assert handler located in app_error.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>