<?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>[nRF Connect for VS Code][BUG?] Backtrace is sometimes not shown on fatal error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110497/nrf-connect-for-vs-code-bug-backtrace-is-sometimes-not-shown-on-fatal-error</link><description>Using the official nRF Connect for VS Code extension sometimes when debugging and hitting a fatal error, no backtrace is shown (backtrace seems to be mostly garbage): 
 
 Without changing anything, no flashing or anything, if I use the cortex-debug extension</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Aug 2024 08:27:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110497/nrf-connect-for-vs-code-bug-backtrace-is-sometimes-not-shown-on-fatal-error" /><item><title>RE: [nRF Connect for VS Code][BUG?] Backtrace is sometimes not shown on fatal error</title><link>https://devzone.nordicsemi.com/thread/499171?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2024 08:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80daef50-c79c-4729-81f5-b6d906934d6c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I have forwarded this info to our devs and will let you know when I hear back from them&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect for VS Code][BUG?] Backtrace is sometimes not shown on fatal error</title><link>https://devzone.nordicsemi.com/thread/498597?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 10:12:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1867be5-8586-4e7f-b469-18bc3810d109</guid><dc:creator>lx_brz</dc:creator><description>&lt;p&gt;Thanks for the reply. Unfortunately changing `&lt;span&gt;justMyCode`&amp;nbsp;&lt;/span&gt;does not resolve the problem. I tried out setting `justMyCode` to `false` (it was `true`before, which is the default) and this indeed changed something in the backtrace, but it is still absolutely incomplete compared to cortex-debug, which still shows the full backtrace.&lt;/p&gt;
&lt;p&gt;with `&amp;quot;&lt;span&gt;justMyCode&amp;quot;&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;,`:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&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/justmycode_5F00_true.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;with `&amp;quot;&lt;/span&gt;&lt;span&gt;justMyCode&amp;quot;&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,`:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/justmycode_5F00_false.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;with cortex-debug:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/cortex_2D00_debug.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Meanwhile I am using version `v2024.7.18 (pre-release)` of the extension.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect for VS Code][BUG?] Backtrace is sometimes not shown on fatal error</title><link>https://devzone.nordicsemi.com/thread/497811?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 12:26:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e70d1b70-a117-4505-8e63-8290dc5b9a3e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I now got the suggestion&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is (perhaps unfortunate) expected behavior when &lt;code&gt;justMyCode&lt;/code&gt; option in the debug launch configuration is set to &lt;code&gt;true&lt;/code&gt;. It also affects stack trace. &lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt; Create or modify the debug configuration by setting it to &lt;code&gt;false&lt;/code&gt; and the stack trace should be similar to what is observed using cortex-debug or cmd line &lt;code&gt;gdb&lt;/code&gt; .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does this make sense to you?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect for VS Code][BUG?] Backtrace is sometimes not shown on fatal error</title><link>https://devzone.nordicsemi.com/thread/490347?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 14:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0013f175-e605-4b48-94f0-5e9092de7da7</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;No, I have not heard anything more on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect for VS Code][BUG?] Backtrace is sometimes not shown on fatal error</title><link>https://devzone.nordicsemi.com/thread/490300?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 12:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f71dca4-f40b-457f-92ad-f42ba12f3ad7</guid><dc:creator>lx_brz</dc:creator><description>&lt;p&gt;Hi, any update on this? The problem still persists. I tried switching to a pre-release version:&amp;nbsp;&lt;span&gt;v2024.5.37 (pre-release) but the problem is still there.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect for VS Code][BUG?] Backtrace is sometimes not shown on fatal error</title><link>https://devzone.nordicsemi.com/thread/480169?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 11:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34781c6b-6646-4bf2-bbff-1877d601c382</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have reported this internally.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>