<?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>Problems with &amp;quot;Enable debug options&amp;quot;</title><link>https://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</generator><lastBuildDate>Tue, 17 Jan 2023 11:46:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88366/problems-with-enable-debug-options" /><item><title>RE: Problems with "Enable debug options"</title><link>https://devzone.nordicsemi.com/thread/405214?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 11:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9761f4a-0d0c-4708-ab7c-90b44aadd04c</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;This is the way how debugging worked for me:&lt;br /&gt;1. On the side bar click on Triangle symbol and then click on &amp;quot;Run and Debug&amp;quot;&lt;br /&gt;2. In the Select debugger pop-up window choose nRF Connect&lt;br /&gt;3. choose your default configuration to debug&lt;br /&gt;4. choose a device to debug on&lt;br /&gt;For both build configurations (with and without debug options enabled) breakpoint has been reached at the line 497 in main.c.&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://devzone.nordicsemi.com/thread/404991?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 10:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81ecd300-c3ed-464e-9fd1-ee3e82645971</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In all tests I have a breakpoint on the first printk() in main():&lt;/p&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#795e26;"&gt;printk&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#a31515;"&gt;&amp;quot;The AWS IoT sample started, version: &lt;/span&gt;&lt;span style="color:#001080;"&gt;%s&lt;/span&gt;&lt;span style="color:#ee0000;"&gt;\n&lt;/span&gt;&lt;span style="color:#a31515;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:#000000;"&gt;, &lt;/span&gt;&lt;span style="color:#0000ff;"&gt;CONFIG_APP_VERSION&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;When it comes to the build conf where debug options are enabled, I also tested to set a breakpoint on the row in file nrf_wdt.h where the debug session starts for build conf where debug options are disabled.&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://devzone.nordicsemi.com/thread/404978?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 10:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a89ab85-f5c8-4608-b7a4-655e2ea274c7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;In which file and at which line did you set breakpoint?&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://devzone.nordicsemi.com/thread/404954?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 08:38:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68249995-8017-497b-bbae-d1faab789394</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;br /&gt;Now I have installed NCS 2.2.0, created and example with aws_iot and added two build configurations (one with debug options enabled and one with debug options disabled). The one with debug options disabled works as before. When the debug session starts, it halts in file nrf_wdt.h on the row shown in the picture below:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/aws_5F00_iot_5F00_220_5F00_debug_5F00_options_5F00_disabled.PNG" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;A breakpoint on the first row in main() will be hit after pressing F5.&lt;br /&gt;&lt;br /&gt;The build configuration with debug options enabled will halt in file fault_s.S on the row shown in the picture below:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/aws_5F00_iot_5F00_220_5F00_debug_5F00_options_5F00_enabled.PNG" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Feels strange that the files differ, and starting in fault_s.S doesnt&amp;#39;t feel good. But pressing F5 will make the breakpoint in main() to be hit, and the debugging seems to work fine. But if I click the restart-button (ctrl+shift+F5), things just stop and the debugging doesn&amp;#39;t restart. Then it is necessary to start a new debug session.&lt;br /&gt;&lt;br /&gt;If I add a breakpoint on the row where the debug session with debug options disabled starts (in nrf_wdt.h), things don&amp;#39;t work either. The debug session starts as before in file fault_s.S, but after pressing F5 nothing happens.&lt;br /&gt;&lt;br /&gt;Can you repeat this?&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://devzone.nordicsemi.com/thread/402762?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 09:10:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0408371e-5a20-4491-9fbe-7c79228be980</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Lars M"]Ok, I&amp;#39;ll test it when I get some time.[/quote]
&lt;p&gt;When you complete testing, I would appreciate it if you could provide testing results.&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://devzone.nordicsemi.com/thread/401843?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 07:27:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d444d961-66e0-4813-b5da-34b01637c5da</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Ok, I&amp;#39;ll test it when I get some time.&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://devzone.nordicsemi.com/thread/399743?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2022 14:46:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93261fb6-d7f3-4dd0-a50e-10237f38e409</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Recent release should have solved problem with breakpoints.&amp;nbsp;Build optimizations will still prevent setting breakpoints on lines that don&amp;#39;t exist in the final build. This is part of the built-in functionality in Microsoft&amp;#39;s debugger backend and is added to avoid unexpected behavior with some corner cases.&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://devzone.nordicsemi.com/thread/397235?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 15:22:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8dbdf5f-01dd-4769-bfad-8e83e9d9a025</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have recently used the nRF debugger with NCS v2.1.0. While using nRF Debug I have not noticed issues with breakpoints that were previously reported.&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://devzone.nordicsemi.com/thread/393227?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 12:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d3d04a0-1a5b-41de-83fd-141077f08a61</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;The issue with breakpoints has been reported internally. I&amp;#39;ll provide an update when I get new information related to it.&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://devzone.nordicsemi.com/thread/393121?ContentTypeID=1</link><pubDate>Sun, 30 Oct 2022 03:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9924774a-a615-4a43-998e-18bec1463f70</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Hi Dejans, Lars.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also have exactly the same symptoms as Lars, with the Enable debug options checked the debug is non-functional, (AKA useless).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SDK 2.1.0&lt;/p&gt;
&lt;p&gt;nrf Debug&amp;nbsp;&lt;/p&gt;
&lt;p&gt;asset_tracker_v2 with aws_iot enabled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;turning off the debug option in build allows me to start / restart / stop with the debug toolbar, but the breakpoints are all over the place, probably because the build is optimised?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any suggestions as to resolution on this would be appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Marshall&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://devzone.nordicsemi.com/thread/392082?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 09:40:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d9d99b-f8bc-4748-9f57-09dfeb69de43</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;Our team will&amp;nbsp; consider the possibility of fixing issue with breakpoints. The effect of&amp;nbsp; programming before debugging on nRF9160 will also be looked into.&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://devzone.nordicsemi.com/thread/388993?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 12:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee65c9c5-8407-4742-960f-60b523260049</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;/p&gt;
&lt;p&gt;I have also experienced some inconsistency related to the debugging process. In addition, I have replicated the issue related to the breakpoints.&amp;nbsp;&lt;br /&gt;I have reported the issues internally.&amp;nbsp;&lt;/p&gt;
&lt;p&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://devzone.nordicsemi.com/thread/388246?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 05:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef0fbbb7-a1b4-481e-9b6a-33daa24e7f1e</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;I use v2.1.0 of the SDK, and I run aws_iot.&lt;/p&gt;
&lt;p&gt;In my previous post I summarized three scenarios. The first is with &amp;quot;Enable debug option&amp;quot; checked, the second is no matter if it is checked or not, the third is with it unchecked. I don&amp;#39;t think I can summarize it in a more clear way.&lt;/p&gt;
&lt;p&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://devzone.nordicsemi.com/thread/388182?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 14:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a5f2ea8-3c59-4fce-a76f-02b11c194a99</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;Could you please summarize current behavior of nRF Debug with and without &amp;quot;Enable Debug Options&amp;quot; using sample from NCS v2.1.0?&amp;nbsp;&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://devzone.nordicsemi.com/thread/388108?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 11:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a8d2373-34cd-44f5-ad45-6896248046c5</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;br /&gt;&lt;br /&gt;As I said I experience nRF Debug to be quite unstable. Debugging with &amp;quot;Enable debug options&amp;quot; checked never works. Sometimes the orange bar at the bottom appears, and the small control window with debug buttons appears, but I can&amp;#39;t do anything. Pause doesn&amp;#39;t work, and the program doesn&amp;#39;t stop at breakpoints. Though, at start up this is printed to the console:&lt;br /&gt;&lt;br /&gt;*** Booting Zephyr OS build v3.1.99-ncs1&amp;nbsp; ***&lt;br /&gt;I: Starting bootloader&lt;br /&gt;I: Primary image: magic=bad, swap_type=0x1, copy_done=0x2, image_ok=0x2&lt;br /&gt;I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;br /&gt;I: Boot source: none&lt;br /&gt;I: Swap type: none&lt;br /&gt;I: Bootloader chainload address offset: 0x10000&lt;br /&gt;*** Booting Zephyr OS build v3.1.99-ncs1&amp;nbsp; ***&lt;br /&gt;&lt;br /&gt;When I click the restart-button, this is printed:&lt;br /&gt;&lt;br /&gt;*** Booting Zephyr OS build v3.1.99-ncs1&amp;nbsp; ***&lt;br /&gt;&lt;br /&gt;Sometimes I get these errors no matter if &amp;quot;Enable debug options&amp;quot; is checked or unchecked:&lt;br /&gt;&lt;br /&gt;ERROR: The JLinkARM DLL timed out while communicating to the J-Link probe.&lt;br /&gt;ERROR: If the error condition persists, run the same command again with&lt;br /&gt;ERROR: argument -- log, contact Nordic Semiconductor and provide the generated&lt;br /&gt;ERROR: log.log file to them.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.&lt;br /&gt;FATAL ERROR: command exited with status 35: nrfjprog --program &amp;#39;C:\Projekt\nordic\aws_iot_210\build_debug_options_not_enabled\zephyr\merged.hex&amp;#39; --sectorerase --verify -f NRF91 --snr 960008799&lt;br /&gt;&lt;br /&gt;Debugging with &amp;quot;Enable debug options&amp;quot; unchecked works sometimes. Then I get these printouts:&lt;br /&gt;&lt;br /&gt;*** Booting Zephyr OS build v3.1.99-ncs1&amp;nbsp; ***&lt;br /&gt;I: Starting bootloader&lt;br /&gt;I: Primary image: magic=bad, swap_type=0x1, copy_done=0x2, image_ok=0x2&lt;br /&gt;I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;br /&gt;I: Boot source: none&lt;br /&gt;I: Swap type: none&lt;br /&gt;I: Bootloader chainload address offset: 0x10000&lt;br /&gt;*** Booting Zephyr OS build v3.1.99-ncs1&amp;nbsp; ***&lt;br /&gt;The AWS IoT sample started, version: v1.0.0&lt;br /&gt;&lt;br /&gt;So here the last row is added to the printouts, which is the first row in main(). When I click the restart-button, all these rows are printed again, not just one row as when &amp;quot;Enable debug options&amp;quot; is checked and the restart-button is checked.&lt;br /&gt;&lt;br /&gt;When I try to set breakpoints, they almost never appear where I want. They are often propagated to underlying functions, so it&amp;#39;s really hard to get a good grasp of where they are.&lt;br /&gt;&lt;br /&gt;Always starting a debug session takes quite a long time. So after these tests it feels as nRF Debug doesn&amp;#39;t do what it should.&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://devzone.nordicsemi.com/thread/386784?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 08:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dcb3cd4-ec92-43ca-ae8f-49d0d2168d8d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;nRF Debug is our own debugger and it is recommended to be used going forward.&amp;nbsp;&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://devzone.nordicsemi.com/thread/386536?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 08:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:359e7043-e0a8-4504-9371-df116b350098</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;br /&gt;&lt;br /&gt;Now I have tested with nRF Debug, but it feels very unstable. I have just installed SDK 2.1.0, and initial tests show that debugging now works every time for aws_iot. And I run Cortex debug 1.6.3. If I go back to SDK 1.9.1 it seems I have to change to Cortex debug 1.4.4, and then debugging works every other time.&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://devzone.nordicsemi.com/thread/385804?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 17:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0757372b-3741-4ebc-97e3-f62543804a60</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;I have tried to reproduce the behavior that you reported with partial success. I used aws_iot sample from NCS v2.0.0, Toolchain v2.0.0 and&amp;nbsp;&lt;span&gt;Cortex-Debug v1.4.4.&lt;/span&gt;&lt;br /&gt;I did not observe connection/disconnection in VS Code as you described it. Ozone and Cortex-Debug did not work for me. nRF-Debug worked intermittently.&lt;br /&gt;I would suggest you to try switching to nRF-Debug by going to nRF Connect for VS Code extension -&amp;gt; Extension Settings -&amp;gt; nRF Connect Debugging:Backend -&amp;gt; nRF Debug. What is the result of the Debug change?&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://devzone.nordicsemi.com/thread/385659?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 09:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58079990-7af2-4c0b-a717-be3c979a7e7d</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;No, I haven&amp;#39;t had time do to that yet.&lt;/p&gt;
[quote userid="102842" url="~/f/nordic-q-a/88366/problems-with-enable-debug-options/384278"]Are you able to repeat what I see? Both when it comes to this disconnection-thing with VSCode, the different behaviour when checking/not checking the &amp;quot;Enable debug options&amp;quot;-box, and what I see when trying to debug with Ozone?[/quote]
&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://devzone.nordicsemi.com/thread/384656?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 17:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a45ecb61-c801-4864-bdd4-296220e09cf7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;Do you have any other computer to perform debug testing on?&lt;br /&gt;&lt;br /&gt;Have you tried any other application excluding hello_world and aws_iot?&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://devzone.nordicsemi.com/thread/384278?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 08:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83acbb2d-b697-4f51-849b-897be02d95c1</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;br /&gt;&lt;br /&gt;I have another DK and another cable compared to what I had in the beginning of this ticket. And my computer has been restarted several times. The version I now use of Cortex-Debug is 1.4.4. I also tested 1.4.0, but didn&amp;#39;t see any difference.&lt;br /&gt;&lt;br /&gt;Debugging with Ozone works fine for hello_world if I don&amp;#39;t check &amp;quot;Enable debug options&amp;quot;. If I check it, debugging with Ozone doesn&amp;#39;t work. For aws_iot, debugging with Ozone doesn&amp;#39;t work at all. It feels like I&amp;#39;m also here is back where I was before.&lt;br /&gt;&lt;br /&gt;Are you able to repeat what I see? Both when it comes to this disconnection-thing with VSCode, the different behaviour when checking/not checking the &amp;quot;Enable debug options&amp;quot;-box, and what I see when trying to debug with Ozone?&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://devzone.nordicsemi.com/thread/384175?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 14:05:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8afd4c1e-2f8e-4ba9-a562-6a3331bb9f8a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Lars M"]Is it you at Nordic that are making this extension? Is there a forecast when this can be fixed?[/quote]
&lt;p&gt;We are not making the Cortex-Debug extension.&lt;br /&gt;&lt;br /&gt;Have you tried changing the board, rebooting the computer and/or replacing the cables?&lt;br /&gt;&lt;br /&gt;How does Ozone debugger behave now with aws_iot sample?&amp;nbsp;&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://devzone.nordicsemi.com/thread/384148?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 13:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a21d0dd-9a6e-4eb7-b4f2-0d348553e942</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;br /&gt;&lt;br /&gt;Great, thanks! This solves the problem to a great extent! Now it is possible to debug, but it only works every other time. It seems that I&amp;#39;m back to the behaviour I had in the beginning of this ticket. Which feels quite natural.&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.&lt;br /&gt;&lt;br /&gt;The other times debugging works. But this is only true if I have not checked the &amp;quot;Enable debug options&amp;quot;-checkbox when making a build configuration.&lt;br /&gt;&lt;br /&gt;Is it you at Nordic that are making this extension? Is there a forecast when this can be fixed?&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://devzone.nordicsemi.com/thread/384118?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 11:42:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:734bb449-0808-4027-bb53-c6b94779f7fc</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Lars,&lt;br /&gt;&lt;br /&gt;I have tested aws_iot sample in NCS v1.9.1 and got the same result. The debugger restriction was introduced with Cortex debug extension v1.6. The solution might be to downgrade the Cortex extension. You can do it from VS Code by going to Extensions-&amp;gt; Cortex Debug. Under extension name Cortex-Debug, there is Uninstall drop-down list where you can choose &amp;quot;Install Another Version ...&amp;quot;.&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://devzone.nordicsemi.com/thread/383786?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 07:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:189b80ea-fc89-4298-b94a-95e956372c29</guid><dc:creator>Lars M</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;To try to come back to the previous state where debugging in some way worked, I have now uninstalled V2.0.0. But if I then try to debug aws_iot v1.9.1 I get this error message:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661842777914v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Just flashing aws_iot 1.9.1 works fine, it connects and runs as it should.&lt;br /&gt;&lt;br /&gt;Reinstalling V2.0.0 I still get this error message for aws_iot v1.9.1. And, running aws_iot 2.0.0 I also get that error message.&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></channel></rss>