<?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>nrf52810 Eclipse Debug Problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35531/nrf52810-eclipse-debug-problems</link><description>Hello, 
 I&amp;#39;m trying to port my application from the nrf52832 to the nrf52810. I&amp;#39;m using the Fanstel modules, originally was using BT832 and am now trying to bring the application up on the BT832A. I upgraded form SDK 12 to SDK 15 as it looks like some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jun 2018 08:10:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35531/nrf52810-eclipse-debug-problems" /><item><title>RE: nrf52810 Eclipse Debug Problems</title><link>https://devzone.nordicsemi.com/thread/136670?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 08:10:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12f3ee68-8189-4177-b2c5-9f8cb1ba6353</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="67182" url="~/f/nordic-q-a/35531/nrf52810-eclipse-debug-problems/136633"]On a side note, what does the &amp;quot;-g&amp;quot; option do in the optimizations? I&amp;#39;m not familiar with this switch...[/quote]
&lt;p&gt;&lt;span&gt;The -g flag tells the compiler to generate debugging information. The number behind it sets the level of debug information that should be generated.&lt;/span&gt;&lt;/p&gt;
&lt;table class="dtable" border="1" width="322"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;option&lt;/th&gt;
&lt;th&gt;description&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-g0&lt;/td&gt;
&lt;td&gt;no debug information&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-g1&lt;/td&gt;
&lt;td&gt;minimal debug information&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-g&lt;/td&gt;
&lt;td&gt;default debug information&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-g3&lt;/td&gt;
&lt;td&gt;maximal debug information&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52810 Eclipse Debug Problems</title><link>https://devzone.nordicsemi.com/thread/136633?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 01:56:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a15e772-0912-4dc0-b6d9-1ae20b7050f0</guid><dc:creator>josh</dc:creator><description>&lt;p&gt;I sorted it out, I messed up the optimization flags, I saw the &amp;quot;-g3&amp;quot; and changed the 3 to a 0, when I should have changed the &amp;quot;-os&amp;quot; to &amp;quot;-o0&amp;quot;. Once I&amp;nbsp;switched it to &amp;quot;OPT = -O0 -g3&amp;quot; the debugging is working as expected.&lt;/p&gt;
&lt;p&gt;On a side note, what does the &amp;quot;-g&amp;quot; option do in the optimizations? I&amp;#39;m not familiar with this switch...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>