<?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>Stopping the program at a breakpoint causes a software reset.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95381/stopping-the-program-at-a-breakpoint-causes-a-software-reset</link><description>Hi I&amp;#39;m using MDK-ARM to create an application with softdevice. I set breakpoints to see the values of variables in the program. However, when I stop the program at a breakpoint, a software reset occurs. This seems to issue a reset on softdevice. Isn&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Jan 2023 23:24:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95381/stopping-the-program-at-a-breakpoint-causes-a-software-reset" /><item><title>RE: Stopping the program at a breakpoint causes a software reset.</title><link>https://devzone.nordicsemi.com/thread/403494?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 23:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dca54fdb-aefe-42a0-a043-40f0ae266037</guid><dc:creator>echo</dc:creator><description>&lt;p&gt;Thank you for your detailed advice!!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stopping the program at a breakpoint causes a software reset.</title><link>https://devzone.nordicsemi.com/thread/403337?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 09:41:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d39bb151-72ea-4168-8564-c147e93c9a31</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When you step or use breakpoints, the CPU is paused, but other peripherals continue to run. The SoftDevice use an RTC and TIMER to keep track of time, and if it loose timing, it will assert. Therefor, when using a SoftDevice, you will typically get an assert whenever you continue from a breakpoint or step in the code. To work around this, the simplest way to debug while using a SoftDevice is to set a breakpoint wherever you want, but never continue from a break-point. Instead, reset the device. To mimic stepping, you can then move the breakpoint before resetting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>