<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Problems with &amp;quot;Enable debug options&amp;quot;</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88366/problems-with-enable-debug-options</link><description>Hi, I am facing a problem with the selection &amp;quot;Enable debug options&amp;quot; when creating a build configuration. I use nRF connect SDK 1.9.1 with VSCode. I create an application from sample aws_iot. Then I make two different build configurations, one with &amp;quot;Enable</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 15 Jun 2022 08:30:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88366/problems-with-enable-debug-options" /><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372503?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 08:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49ae6fd1-9b25-4a32-a4f4-3ed818816ff9</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;Could you try some other nRF9160 application other than hello_world? &lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372398?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 13:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:045132a7-e568-4863-984a-b9dbb7b579d6</guid><dc:creator>user102842</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, it works for hello_world, but not aws_iot.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Lars&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372382?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 12:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:172b14b5-f11b-4901-ab96-8d1bd029e90a</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;I am glad to know that debugging is working for you at the moment.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372370?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 12:06:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3da18ee0-e9e0-4ebb-87ea-a1489d3be439</guid><dc:creator>user102842</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I have tested hello_world for nRF9160, and it works fine to debug with Ozone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Lars&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372354?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 11:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58b76a31-cde9-4f55-9f4a-faf9196f8343</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi Lars,&lt;/p&gt;
&lt;p&gt;Apart from aws_iot, have you tried any other samples for nRF9160? &lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372291?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 07:36:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31693971-fc85-451e-9eda-635359283ce5</guid><dc:creator>user102842</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;br /&gt;&lt;br /&gt;Great, thanks! Now I have installed Ozone, and it works fine to debug my nRF52DK-boards. It also works fine to debug hello_world for nRF9160. But like VSCode something goes wrong when I try to debug aws_iot. Maybe there is something in the build process that goes wrong, something that both VSCode and Ozone are affected by.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Lars&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372120?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 11:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91c5f6cd-143a-4d7e-8535-b223a3249864</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;There are several steps to make Ozone available from VS Code&lt;br /&gt;1. install &lt;a href="https://www.segger.com/products/development-tools/ozone-j-link-debugger/"&gt;Ozone&lt;/a&gt; as standalone application&lt;br /&gt;2. click on Settings icon in the bottom left side&lt;br /&gt;3. choose Settings &lt;br /&gt;4. search for ozon (Nrf-connect: Ozone Path)&lt;br /&gt;5. copy/paste the location of your Ozone installation folder&lt;br /&gt;6. restart VS Code&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372061?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 09:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f10d2ed-c3db-4e73-a618-5e64387bc430</guid><dc:creator>user102842</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Good, I hope you will manage to fix this.&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t have the &amp;quot;Debug with Ozone&amp;quot; option in the Actions panel. It feels I have missed something during the installation? Though, I have Segger installed. Do I need to install some extension to get the ozone-option? Or how should I proceed?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Lars&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372049?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 08:48:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeacf1ae-4f42-471e-95ee-ccc0f0948c70</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have reported internally and I&amp;#39;ll come back to you when I get new information. I am still waiting for the reply.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372047?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 08:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aab40c13-d123-492c-befd-7c5504d1a7c2</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am just suggesting you to use Ozone as a debugger if you have an issue with VS Code debugger, but you do not have to use it if you do not want to do that.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372040?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 08:29:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97dea7dd-fafa-48dc-a391-c56ef71572e2</guid><dc:creator>user102842</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Do you have debugging repeatedly working for aws_iot?&lt;br /&gt;&lt;br /&gt;I got the feeling that you wrote something in a previous post, that you have reported this issue internally. Have you erased that part?&lt;br /&gt;&lt;br /&gt;Are you not able to fix debugging in VS Code for aws_iot?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Lars&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372029?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 07:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df58cc4-6e0b-47e4-bb52-e4791267c7ff</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;If you need debugger, you could try to use Ozone debugger instead of VS Code one.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/372019?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 07:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8836318-bdd0-4896-a721-b57ad00bcf02</guid><dc:creator>user102842</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Do you mean that I should select &amp;quot;Add an excisting application&amp;quot; so the build catalogues are created where the original example is placed? Doing that makes no difference, I get the exact same behaviour as I explained above.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Lars&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/371953?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 16:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0270e80e-613c-4d07-8f3d-90cb69ae8be6</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you try building unmodified NCS aws_iot sample directly (without making application from sample)?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/371787?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 08:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:513bc517-e55f-423b-a851-a7ea4caf9cfe</guid><dc:creator>user102842</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Now I have updated to version 10.16.0 of command line tools. I have tested quite a lot of times to debug, and it&amp;#39;s a bit hard to figure out what is really happening. The behaviour is at least somewhat new.&lt;br /&gt;&lt;br /&gt;Every other time that I debug, the board is disconnected, and then reconnected. Then debugging doesn&amp;#39;t work. I attach the printouts from the debug console. In the window &amp;quot;Disassembly&amp;quot; it says &amp;quot;Disassembly not available&amp;quot;. This behaviour is also present when &amp;quot;Enable debug options&amp;quot; is not checked.&lt;br /&gt;&lt;br /&gt;The other times, when the board doesn&amp;#39;t disconnect and reconnect, I have seen that either debugging works, or it doesn&amp;#39;t. When debugging works, it will likely do that every other time (interwined with the disconnection behaviour) for a long period. And when debugging doesn&amp;#39;t work, it will likely do that every other time for a long period.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Lars&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/board-disconnects-and-reconnects-debugging-fail.txt"&gt;test-devzone.nordicsemi.com/.../board-disconnects-and-reconnects-debugging-fail.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/371679?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 12:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0848c03-40b4-4890-b5c8-d029e8deec8d</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you please update &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;nRF Command Line Tools&lt;/a&gt; to the version 10.16.0 (and J-Link v7.66a)?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/370849?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 11:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aee2a3a3-6ede-481b-a1ce-1052420b3125</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;As can be seen in &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/connect/debug_app.html"&gt;debugging application&lt;/a&gt;, ENABLE_DEBUG_OPTIONS sets the following in the prj.conf&lt;br /&gt;CONFIG_DEBUG_OPTIMIZATIONS=y&lt;br /&gt;CONFIG_DEBUG_THREAD_INFO=y&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/370684?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 12:05:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89a9ffd8-b276-4eac-afef-09052b8dca60</guid><dc:creator>user102842</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;br /&gt;&lt;br /&gt;Strange. I have staerted over, and the first time I debug the build configuration that has &amp;quot;Enable debug options&amp;quot; checked, it works fine. But all other debug sessions don&amp;#39;t. I have attached three files with the printouts from &amp;quot;Debug console&amp;quot;. One file is how it looks in the build configuration that doesn&amp;#39;t have &amp;quot;Enable debug options&amp;quot; checked. The other two has the option checked. The one where debugging is working is the first debug session, the other one is how it looks for all other debug sessions. Is it possible to find any interesting information from this?&lt;br /&gt;&lt;br /&gt;Has any other of your team tested to see if you can repeat this?&lt;br /&gt;&lt;br /&gt;What does &amp;quot;Enable debug options&amp;quot; provide?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Lars&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/build-debug-options-not-enabled_2C00_-debugging-ok.txt"&gt;test-devzone.nordicsemi.com/.../build-debug-options-not-enabled_2C00_-debugging-ok.txt&lt;/a&gt;&lt;a href="https://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/build_5F00_1_5F00_debug_5F00_options_5F00_enabled_2C00_-debugging-ok.txt"&gt;test-devzone.nordicsemi.com/.../build_5F00_1_5F00_debug_5F00_options_5F00_enabled_2C00_-debugging-ok.txt&lt;/a&gt;&lt;a href="https://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/build_5F00_1_5F00_debug_5F00_options_5F00_enabled_2C00_-debugging-fail.txt"&gt;test-devzone.nordicsemi.com/.../build_5F00_1_5F00_debug_5F00_options_5F00_enabled_2C00_-debugging-fail.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with "Enable debug options"</title><link>https://test-devzone.nordicsemi.com/thread/369995?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 13:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aee798b2-a218-4ff3-9336-20c5f6cef7c7</guid><dc:creator>user111786</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have replicated the scenario you described myself using aws_iot sample with VS Code and NCS v1.9.1. I did not observe any issue, no matter if &amp;quot;Enable debug options&amp;quot; was checked or unchecked, .&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>