<?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>Unable To Run Code In Debug Mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72548/unable-to-run-code-in-debug-mode</link><description>Hii Guys, 
 
 I am trying to run example code ble_app_uart on my nrf52810 sdk module . But when I try to run the code in debug mode I get an error of Vector Catch Error . I am attaching the CPU Register here . Please do reply guys as I am stuck badly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Mar 2021 07:58:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72548/unable-to-run-code-in-debug-mode" /><item><title>RE: Unable To Run Code In Debug Mode</title><link>https://devzone.nordicsemi.com/thread/298904?ContentTypeID=1</link><pubDate>Wed, 10 Mar 2021 07:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8966a77e-29eb-4995-92c1-b5793b0d3a87</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi!&amp;nbsp;&lt;/p&gt;
[quote user=""]&amp;nbsp;I am trying to run example code ble_app_uart on my nrf52810 sdk module . But when I try to run the code in debug mode I get an error of Vector Catch Error .[/quote]
&lt;p&gt;&amp;nbsp;It seems like you&amp;#39;re using the wrong example folder. &lt;strong&gt;The correct one is PCA10040e&lt;/strong&gt;. Could you double-check that you&amp;#39;re using the correct one?&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable To Run Code In Debug Mode</title><link>https://devzone.nordicsemi.com/thread/298696?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 12:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d71250a6-5006-46af-81b1-f29f30987b11</guid><dc:creator>NJ_B</dc:creator><description>&lt;p&gt;Hey Thanks Oneil,&lt;/p&gt;
&lt;p&gt;My question was when I try to click on the Green button in Segger IDE . It does not go in running mode instead it stops immediately.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable To Run Code In Debug Mode</title><link>https://devzone.nordicsemi.com/thread/298612?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 09:46:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16ceb085-4473-48e1-b0e9-03cf3473cf9a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Please see&amp;nbsp;&lt;a href="https://www.techrepublic.com/article/how-to-take-screenshots-in-windows-10/"&gt;https://www.techrepublic.com/article/how-to-take-screenshots-in-windows-10/&lt;/a&gt;&amp;nbsp;for how to capture a screenshot.&lt;/p&gt;
[quote userid="98745" url="~/f/nordic-q-a/72548/unable-to-run-code-in-debug-mode"]when I try to run the code in debug mode I get an error of Vector Catch Error[/quote]
&lt;p&gt;Do you mean when you try to halt the CPU ?&lt;/p&gt;
&lt;p&gt;If you halt the CPU, the BLE stack (the &amp;quot;SoftDevice&amp;quot;) will miss its timing deadlines, and will crash.&lt;/p&gt;
&lt;p&gt;You need to use Monitor Mode debug:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48647/ble-debugging-on-nrf52/193088#193088"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48647/ble-debugging-on-nrf52/193088#193088&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>