<?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>Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91341/flash-and-debug-fail-in-visual-studio-code</link><description>Hi, 
 I tried building and debugging the sample &amp;quot;https_client&amp;quot; using the method described here . But debugging fails. Debugging stops prematurely because the source file cannot be found. 
 Module: nRF9160-DK SDK: Connect SDK v2.0.0 firmware: mfw_nrf9160_1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Sep 2022 02:54:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91341/flash-and-debug-fail-in-visual-studio-code" /><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/384897?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 02:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1881dec9-6509-41d8-a483-ca8a3b01207c</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The same was true when creating applications with other samples. I&amp;#39;ve tried the install again to see if it works, but I&amp;#39;ve encountered another problem, so I&amp;#39;ll be contacting you again with a new ticket.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/384816?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 13:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c671945-6c36-430e-881a-02e4ce0ff58b</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Norio,&lt;/p&gt;
&lt;p&gt;Do you get this problem when trying other samples too? If so, is it possible to uninstall and re-install again? i.e. the nRF Command Line Tools, nRF Connect SDK etc.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/384548?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 11:14:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4693de49-2718-4324-ab1d-6099437e9013</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the information.&lt;/p&gt;
&lt;p&gt;Could not find &amp;#39;c_cpp_properties.json&amp;#39; in &amp;#39;https_client&amp;#39;. Is there something wrong with my build method?&lt;/p&gt;
&lt;p&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/pastedimage1662376401200v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&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/pastedimage1662376424146v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&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/pastedimage1662376452760v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383889?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 11:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7852321c-003d-43b4-8e9f-1a0d90c21b59</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Maybe &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85374/cannot-open-source-file-vscode-nrf-connect-sdk"&gt;this ticket&lt;/a&gt; helps?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383885?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 11:47:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16782844-414b-4da0-b56c-d1ecade774c7</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, I checked again.&lt;/p&gt;
&lt;p&gt;Even if you build or flash after debugging, the &amp;quot;problem&amp;quot; window will still display the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383880?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 11:23:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c49adbc3-0b97-4289-931a-2273d6e648d0</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Norio,&lt;/p&gt;
&lt;p&gt;When you build or flash, what do you see in this &amp;quot;Problems&amp;quot; window? Because this looks like a configuration issue which should exist even when not debugging.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383874?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 11:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a625bfc8-a900-420c-a1f4-ae790b136db0</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s an error that only occurs when debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383858?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 10:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8786c13f-ea85-47fd-96e3-69c5fa834f42</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;And you get these only when you debug and not when you build or flash?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383838?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 09:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd3ae777-eac3-49c4-90d7-1993c94a80e3</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will send you a screenshot.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2727.image.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383824?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 08:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f4613c7-23b5-473f-95e7-667ab5ce9f5d</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Norio,&lt;/p&gt;
&lt;p&gt;Could you attach a screenshot or log of this? i.e. the problem&amp;nbsp;&lt;span&gt;&amp;quot;cannot open source file&amp;quot; in &amp;quot;main.c&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383770?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 03:10:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3027e89-5909-4948-bf49-8772cbc7dfde</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your answer.&lt;br /&gt;When you say debugging works, do you mean I can debug in Visual Studio Code?&lt;/p&gt;
&lt;p&gt;When debugging https_client with Visual Studio Code, the main thread of &amp;quot;C:\ncs\v2.0.0\modules\tee\tf-m\trusted-firmware-m\secure_fw\spm\cmsis_psa\main.c&amp;quot; in the SDK will stop.&lt;br /&gt;Why am I getting the problem &amp;quot;cannot open source file&amp;quot; in &amp;quot;main.c&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383721?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 14:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:671b1506-c6e2-4505-85df-96200a76fd43</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Norio,&lt;/p&gt;
&lt;p&gt;From your debug log,&lt;/p&gt;
&lt;p&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/pastedimage1661781634793v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It looks like your debugging is working.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383694?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 12:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32e45486-5b51-40d8-b076-330ab8c7bf8a</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Norio,&lt;/p&gt;
&lt;p&gt;I have asked internally and will get back to you soon.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383571?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 00:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90f2c0d3-4d99-4baf-aecb-0fe73ce25797</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thank you for your answer.&lt;br /&gt;Attach support information.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SupportInfomation.txt"&gt;devzone.nordicsemi.com/.../SupportInfomation.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383502?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 13:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eff3bbf7-ee0e-44df-9354-c20beb2ec01f</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&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/pastedimage1661521971736v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383437?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 10:22:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86518ec1-0eee-4d16-9e52-8834dbb57346</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How can I obtain support information?&lt;/p&gt;
&lt;p&gt;&amp;quot;Show capture in folder&amp;quot; in Trace Collector v1.1.2 only had empty files.&lt;/p&gt;
&lt;p&gt;Another sample &amp;quot;at_client&amp;quot; sent an AT command with LTE Link Monitor and confirmed that there was a response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383415?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 08:44:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4b5e648-f8ca-4ba8-8a05-e6d13e4acb14</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Norio,&lt;/p&gt;
&lt;p&gt;Is it possible to Generate Support Information and attach it here? Also, is this the only sample with which you face this issue?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383235?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 10:51:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cc234d1-530a-476c-8d6c-a4cd3688c1e5</guid><dc:creator>ppc paper</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;The version of Cortex Debug was the latest v1.6.0.&lt;/p&gt;
&lt;p&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/pastedimage1661422991315v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I changed to the previous v1.4.4, but unfortunately it didn&amp;#39;t improve.&lt;/p&gt;
&lt;p&gt;Even if I debug it, it stops in the middle and I get an error &amp;quot;cannot open source file&amp;quot;.&lt;/p&gt;
&lt;p&gt;Is my setting wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash and debug fail in Visual Studio Code.</title><link>https://devzone.nordicsemi.com/thread/383224?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 10:11:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bcdc218-e8e5-4894-a29d-8905e9c0ee45</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Norio,&lt;/p&gt;
&lt;p&gt;Did you recently update the Cortex Debug? Could you try downgrading to the previous version of this?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>