<?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 interpret the thread state in Call Stack in VS Code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91217/how-to-interpret-the-thread-state-in-call-stack-in-vs-code</link><description>Greetings! 
 We are trying to troubleshoot occasional hangup issue. We run the app in debug mode. When it hangs up, we hit pause and got the followings in the Call Stack window. 
 The question is, how to interpret the states of the various threads? 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Aug 2022 14:10:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91217/how-to-interpret-the-thread-state-in-call-stack-in-vs-code" /><item><title>RE: How to interpret the thread state in Call Stack in VS Code?</title><link>https://devzone.nordicsemi.com/thread/383107?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 14:10:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52592d8e-fc4c-4730-b7db-c86d2eca43ea</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hmm, I would think that the MPSL thread would be the next to run, however I don&amp;#39;t have too much expertise at this area so I&amp;#39;m not sure why it gets stuck at &lt;span&gt;k_sleep for 8-9 minutes&lt;/span&gt;. Would you be able to upload a minimal reproducible sample, then I could try to reproduce it on my side and get a better overview and ask some experts internally what the cause might be.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to interpret the thread state in Call Stack in VS Code?</title><link>https://devzone.nordicsemi.com/thread/383013?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 08:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d20340a-4fa5-449a-bb0e-3a088c82c030</guid><dc:creator>ant</dc:creator><description>&lt;p&gt;I now figure that the Call Stack window treats the priority as unsigned.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;sysworkq actually has a priority of -1, BT RX -8, BT TX -9, MPSL -10.&lt;/p&gt;
&lt;p&gt;So is it the MPSL work thread holding up the processor?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to interpret the thread state in Call Stack in VS Code?</title><link>https://devzone.nordicsemi.com/thread/382975?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 00:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c4762b6-9db6-45e1-82be-354bed280487</guid><dc:creator>ant</dc:creator><description>&lt;p&gt;My environment has dozen of BLE devices flooding with advertisements.&amp;nbsp; The devices together can generate 200+ advertisements per second.&amp;nbsp; Could this cause the BT threads busy enough to starve out other threads?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to interpret the thread state in Call Stack in VS Code?</title><link>https://devzone.nordicsemi.com/thread/382871?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 10:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3db9608f-3668-4bee-9b24-1d16ebc22e5e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll take a look at this today/tomorrow&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>