<?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 developp structure in Watch View</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/129375/how-to-developp-structure-in-watch-view</link><description>Hello, 
 
 I&amp;#39;m following online courses in Nordic Academy (nRF Connect SDK Intermediate). 
 As indicated in the first lesson,first excercice, I added device_message_queue into the Watch View. 
 I didn&amp;#39;t get the same rendering as on the screenshot attached</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Oct 2026 11:57:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/129375/how-to-developp-structure-in-watch-view" /><item><title>RE: How to developp structure in Watch View</title><link>https://devzone.nordicsemi.com/thread/572237?ContentTypeID=1</link><pubDate>Wed, 14 Oct 2026 11:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3266b58-1a38-4568-b567-8f2c1c924279</guid><dc:creator>Pallavi Patil</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I will try to run the exercise at my side again and see if I am able to replicate your view. I can get back to you tomorrow with a definite answer. But please feel free to ask any other questions.&lt;/p&gt;
&lt;p&gt;Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to developp structure in Watch View</title><link>https://devzone.nordicsemi.com/thread/572197?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2026 20:30:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c6058df-89dd-4594-a073-e75b0d2fdff3</guid><dc:creator>loicd</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I added in my initial message&amp;nbsp;&lt;code dir="ltr"&gt;device_message_queue&lt;/code&gt; &amp;nbsp;without &amp;amp;&lt;code&gt;.&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I saw this error and I tried with the &amp;amp; in my second message.&lt;/p&gt;
&lt;p&gt;But the problem remains the same.&lt;/p&gt;
&lt;p&gt;You can see that I have the same trouble with the structure acc_val)&lt;/p&gt;
&lt;p&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/pastedimage1791923347815v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Lo&amp;iuml;c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to developp structure in Watch View</title><link>https://devzone.nordicsemi.com/thread/572174?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2026 13:22:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cbf0680-baf4-4a1d-a83a-1272072a709b</guid><dc:creator>Pallavi Patil</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Can you please confirm: are you viewing the variable&amp;nbsp;C&amp;nbsp;&lt;code dir="ltr"&gt;device_message_queue&lt;/code&gt; (just the variable name) or the pointer &amp;nbsp;&lt;code dir="ltr"&gt;&amp;amp;device_message_queue&lt;/code&gt;). Can you please &lt;b&gt;r&lt;/b&gt;ight-click on the highlighted variable and choose Add to Watch to get a clearer view.&amp;nbsp;&lt;br /&gt;Regards&lt;/p&gt;
&lt;p&gt;Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to developp structure in Watch View</title><link>https://devzone.nordicsemi.com/thread/572137?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2026 20:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40082046-d935-4a90-97ec-6511ea4fb75e</guid><dc:creator>loicd</dc:creator><description>&lt;p&gt;Hi Pallavi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using VSC on Windows 11 and NCS 3.4.1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tred the command here and I get an error (command not found)&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/pastedimage1791835297223v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I tried only &amp;#39;set print pretty on&amp;#39; and it&amp;#39;s a bit better.&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/pastedimage1791835157974v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, I still haven&amp;#39;t the same view as in the excercice with the little arrow on the left.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Lo&amp;iuml;c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to developp structure in Watch View</title><link>https://devzone.nordicsemi.com/thread/572105?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2026 11:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d395bbd8-b44c-4813-bcff-8f48907dee9b</guid><dc:creator>Pallavi Patil</dc:creator><description>&lt;p&gt;Hie,&lt;br /&gt;&lt;br /&gt;&amp;nbsp;It seems that you are seeing the&amp;nbsp;&lt;span&gt;compact (non-pretty) output of the &lt;/span&gt;&lt;code dir="ltr"&gt;device_message_queue&lt;/code&gt;&lt;span&gt; struct in the Watch view. This is normal default behavior. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In the VS Code Debug Console, type:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;-exec &lt;/span&gt;&lt;span&gt;set&lt;/span&gt;&lt;span&gt; print pretty on&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;Then refresh the Watch view and your next output expand into a much more readable format.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you also please &amp;nbsp;tell me which OS and NCS version you are using ?&lt;br /&gt;&lt;br /&gt;Regards&lt;/p&gt;
&lt;p&gt;Pallavi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>