<?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>How to turn on DEBUG flag on SES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42364/how-to-turn-on-debug-flag-on-ses</link><description>Hello. 
 Please teach me how to turn on DEBUG flag on Segger Embeddid Studio. 
 Environment: SDK 15.2.0 and SEGGER Embedded Studio Release 4.10a Build 2018110203.37618 Linux x64 
 In the 
 devzone.nordicsemi.com/.../app_error_fault_handler-sdk-v15-0-0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Jan 2019 12:52:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42364/how-to-turn-on-debug-flag-on-ses" /><item><title>RE: How to turn on DEBUG flag on SES</title><link>https://devzone.nordicsemi.com/thread/165735?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 12:52:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1057d08-57b7-45fd-9405-52631bfcb3a2</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, it is reported to Segger. I do not know if this was an already known issue to them, but at least now they should be aware of the issue.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on DEBUG flag on SES</title><link>https://devzone.nordicsemi.com/thread/165286?ContentTypeID=1</link><pubDate>Sat, 12 Jan 2019 11:10:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e295c6cd-87c3-492d-9dfa-7c1e8cf353d1</guid><dc:creator>awneil</dc:creator><description>[quote userid="8164" url="~/f/nordic-q-a/42364/how-to-turn-on-debug-flag-on-ses/165247"]I think this is only a visual glitch in the SES text editor. [/quote]
&lt;p&gt;I think I&amp;#39;ve also seen that.&lt;/p&gt;
&lt;p&gt;Have you reported this to Segger ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on DEBUG flag on SES</title><link>https://devzone.nordicsemi.com/thread/165285?ContentTypeID=1</link><pubDate>Sat, 12 Jan 2019 11:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2dc747-fd78-46a2-a48d-a6fb805ba650</guid><dc:creator>awneil</dc:creator><description>[quote userid="76367" url="~/f/nordic-q-a/42364/how-to-turn-on-debug-flag-on-ses/165267"]I confirmed that you are right.[/quote]
&lt;p&gt;Excellent - now please verify the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0815._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on DEBUG flag on SES</title><link>https://devzone.nordicsemi.com/thread/165267?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 22:42:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89399012-d605-4156-9dc0-e887044a6915</guid><dc:creator>nanbuwks</dc:creator><description>&lt;p&gt;Great!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I confirmed that you are right. Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on DEBUG flag on SES</title><link>https://devzone.nordicsemi.com/thread/165247?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 17:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a38f7e44-9b6a-403c-9c9a-bbb3705e53c7</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think this is only a visual glitch in the SES text editor. I noticed that if I opened the file app_error_weak.c in the normal (non-debug) window, then changed over to Debug, then the graying out did not change. When I closed the app_error_weak.c tab and reopened the file, however, the graying out was correct. Can you try the same?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on DEBUG flag on SES</title><link>https://devzone.nordicsemi.com/thread/165243?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 16:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf3d47b4-767b-47ac-b9c5-345fca7e1a17</guid><dc:creator>nanbuwks</dc:creator><description>&lt;p&gt;&lt;span lang="en"&gt;Thank you for the reply. Oops, stupidly I missed that selector.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;So I changed the selector to &amp;quot;Debug&amp;quot;. After that, I did the following work. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;1. [Build] -&amp;gt; [Clean Solution] &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;2. [Build] -&amp;gt; [Build and Debug] &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;However, it still remains DEBUG define is turned off. (see attachment image). &lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1547224268739v1.png" alt=" " /&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;In the &amp;quot;ble_app_uart_pca10056_s140.emProject&amp;quot; file, Configuration is as follows.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt; &amp;lt;configuration Name=&amp;quot;Release&amp;quot;&lt;br /&gt; c_preprocessor_definitions=&amp;quot;NDEBUG&amp;quot;&lt;br /&gt; gcc_optimization_level=&amp;quot;Optimize For Size&amp;quot; /&amp;gt;&lt;br /&gt; &amp;lt;configuration Name=&amp;quot;Debug&amp;quot;&lt;br /&gt; c_preprocessor_definitions=&amp;quot;DEBUG; DEBUG_NRF&amp;quot;&lt;br /&gt; gcc_optimization_level=&amp;quot;None&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;&amp;nbsp;Anything help?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on DEBUG flag on SES</title><link>https://devzone.nordicsemi.com/thread/165100?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 09:51:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd3a06c5-600b-4091-8c41-bf532b996313</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;DEBUG will be set when you choose Debug build (as opposed to Release build.) It is not related to whether you run a debug session or not.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-9c430720f8f14ea29886bac86c50ad3c/SES-_2D00_-Debug-build.png" /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>