<?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>Unable to inspect local variables in SES 5.34a</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71224/unable-to-inspect-local-variables-in-ses-5-34a</link><description>Hi, 
 I&amp;#39;m running SES 5.34a on a Mac and building a Zephyr bluetooth sample for the nRF5340 DK. NCS version is 1.4.2. 
 When I breakpoint in a bluetooth stack callback I cannot inspect some local (stack) variables. The project is in .../ncs/zephyr/samples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Feb 2021 13:51:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71224/unable-to-inspect-local-variables-in-ses-5-34a" /><item><title>RE: Unable to inspect local variables in SES 5.34a</title><link>https://devzone.nordicsemi.com/thread/292703?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2021 13:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a670675a-6c09-480f-a7ac-546f4aca6273</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for letting us know the issue was with optimization. That makes sense. Regarding the follow up question I see you have posted a separate question for it &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/71059/how-to-set-optimisation-level-in-ses-5-34a-nordic-version"&gt;here&lt;/a&gt;, so I suggest you continue there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to inspect local variables in SES 5.34a</title><link>https://devzone.nordicsemi.com/thread/292548?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 16:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af38a719-7a84-42c0-8e8d-2cd9f659282e</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;It looks like the problem was the optimisation setting in prj.conf.&amp;nbsp; It should have been a lowercase &amp;quot;y&amp;quot; not &amp;quot;Y&amp;quot;.&lt;/p&gt;
&lt;p&gt;However, changing it to:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#CONFIG_DEBUG_OPTIMIZATIONS=y
CONFIG_NO_OPTIMIZATIONS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;causes a stack overflow on cpu0 which I guess is the network core.&lt;/p&gt;
&lt;p&gt;So, a follow-on question - how do I control the optimisation level of the application only? Alternatively, if it is not possible to control the optimisation per cpu, how do I increase the stack for cpu0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>