<?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>I can not debug my app with freertos and BLE if the ble is connected, but I can debug the app if the ble is disconnected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36745/i-can-not-debug-my-app-with-freertos-and-ble-if-the-ble-is-connected-but-i-can-debug-the-app-if-the-ble-is-disconnected</link><description>I can not debug my app with freertos and BLE if the ble is connected, but I can debug the app id the ble is disconnected, i want to debug inside the xqueue recieve and send while the BLE is connected. 
 
 If the BLE is disconnected I can debug just fine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Jul 2018 17:01:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36745/i-can-not-debug-my-app-with-freertos-and-ble-if-the-ble-is-connected-but-i-can-debug-the-app-if-the-ble-is-disconnected" /><item><title>RE: I can not debug my app with freertos and BLE if the ble is connected, but I can debug the app if the ble is disconnected</title><link>https://devzone.nordicsemi.com/thread/141032?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 17:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86cdffd4-4a6e-4b93-bb7f-5590c6b081c9</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/fmbi1984"&gt;Francisco Betancourt&lt;/a&gt; Have you tried looking at the call stack when you hit the breakpoint to see where you are in your code?&amp;nbsp;&amp;nbsp; You may be in the hard fault handler which uses &lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_BREAKPOINT_COND;&lt;/pre&gt; .&lt;/p&gt;
&lt;p&gt;Also, in your above example queue receive you don&amp;#39;t seem to be checking the return type.&amp;nbsp; Without checking the return type from the&amp;nbsp; call to xQueueReceve you won&amp;#39;t know if your queue timed out our if you received a message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>