<?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 enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12909/cannot-enable-breakpoints-to-debug-step-by-step-for-nrf52-example-code</link><description>Hi all:
Here is my develop environment and it always show the message &amp;quot;one or more breakpoints could not be set and have been disabled&amp;quot;.
Is any item I missed.
OS:Ｗｉｎ１０
ＩＡＲ：７．５０
Ｊｌｉｎｋ：
example: ble_app_templete for NRF52 /Pca10036 of SDK V11..
When</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Aug 2016 13:11:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12909/cannot-enable-breakpoints-to-debug-step-by-step-for-nrf52-example-code" /><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49152?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2016 13:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4008f2e-f67d-4620-b796-f564faa9a79e</guid><dc:creator>genis</dc:creator><description>&lt;p&gt;Try disabling any optimization options. Force -O0 optimization level.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49158?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2016 03:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b685719-c8e4-499f-b8f3-04f7d37ec310</guid><dc:creator>Jorgewu</dc:creator><description>&lt;p&gt;Hi Ole:
It works correctly after  enable &amp;quot;Generate debug information&amp;quot; .
Thanks for your support...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49157?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2016 08:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd028af2-7011-43b8-baea-5a5802e7e334</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49156?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2016 08:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04bfa514-e24e-4913-955e-d5d0a380a620</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;I did not quite understand your problem, and it seems like the comment is missing some text (you stopped in the middle of a sentence). Can the problem be that the code is constantly resetting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49155?ContentTypeID=1</link><pubDate>Sat, 02 Apr 2016 11:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0858f13c-9d50-42f1-9976-1bfce0426d86</guid><dc:creator>Jorgewu</dc:creator><description>&lt;p&gt;Yes!
I can start to trace code step by step.
However, the execute flow seems not follow my design flow.
for example, it always executed in the function of nrfdrv_twi_int() becuse its disassemble is BL nrdrv_twi_init().
Is any settings should be checked?&lt;/p&gt;
&lt;p&gt;Thanks...
For example, the code always execute the function of twi_init(), and&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49154?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 13:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eac887eb-5e19-4d8d-9114-eaecbeac63ee</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Try to enable &amp;quot;Generate debug information&amp;quot; in &amp;quot;Options-&amp;gt;C/C++ Compiler-&amp;gt;Output&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49151?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 11:09:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62e2c6d9-6f10-4044-a7ef-e1c4d61646ac</guid><dc:creator>Jorgewu</dc:creator><description>&lt;p&gt;Hi all:
I cannot trace code step by step now by enable the option to generate debug information in output file.
However, it seems the flow is not follow the flow of the design.
Is any setting needed be revised?&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49153?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 06:43:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1059a3f-67c6-4603-98b8-ba8c0ba7faff</guid><dc:creator>mark</dc:creator><description>&lt;p&gt;Hi,
What works for me if IAR disables setting break points when entering debug mode, is in the *.ewp file, ensure CCDebugInfo is set to 1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable breakpoints to debug step by step for NRF52 example code</title><link>https://devzone.nordicsemi.com/thread/49150?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 04:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:440d926e-3797-4dcd-8a4d-2a32c4fe9736</guid><dc:creator>Vijayaraghavan Sundararaman</dc:creator><description>&lt;p&gt;Please Post A Screenshot Of Your Project Settings Window . Check If Ur Flashing A Debug Version Or Release Version .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>