<?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>Simulation in VS like SES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89108/simulation-in-vs-like-ses</link><description>Earlier I created a project in SES for nRF5340. The simulation and debugging was quiet simple and easy to find the fatal errors, run time errors etc. Same features are not so well present in VS. I opened asset_tracker_v2 project in VS. When clicked RUN</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jun 2022 08:07:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89108/simulation-in-vs-like-ses" /><item><title>RE: Simulation in VS like SES</title><link>https://devzone.nordicsemi.com/thread/373850?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 08:07:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a22d95a7-cb34-43f0-9573-7f9a78c9945f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I found a similar&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/79299/debugging-from-vscode-with-cortex-debug-and-nrf-connect-for-vscode"&gt;ticket&lt;/a&gt;&amp;nbsp;that might be of help&lt;/p&gt;
[quote user="AHaug"]3. Where id GDB installed by default in VS ?&amp;nbsp;[/quote]
&lt;p&gt;The toolchain used with nRF Connect SDK v1.x.x is the&amp;nbsp;GNU Arm Embedded Toolchain, so the gdb file would be&amp;nbsp;arm-none-eabi-gdb.exe located in &amp;lt;gnuarmemb_installation_folder&amp;gt;/bin.&lt;br /&gt;&lt;br /&gt;In addition,&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=MGsZJpdLtco"&gt;this video&lt;/a&gt;&amp;nbsp;from&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80600/debugger-in-vscode"&gt;this ticket&lt;/a&gt;&amp;nbsp;is also very helpful w.r.t. debugging in VSCode&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulation in VS like SES</title><link>https://devzone.nordicsemi.com/thread/373685?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 12:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f858a0d0-645e-40b2-9974-f6550e2c386e</guid><dc:creator>mexco</dc:creator><description>&lt;p&gt;I unchecked&amp;nbsp;&lt;span&gt;Enable debug options in build configurations, then build and compilation was successful. The Debugger launched properly and entered to Main thread. But, what may be the reasons not to work when&amp;nbsp;Enable debug options is checked ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulation in VS like SES</title><link>https://devzone.nordicsemi.com/thread/373458?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2022 12:55:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58078078-e15e-4733-a2a6-70be54987cd3</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="mexco"]I checked that extension is installed (See image). How to use ??[/quote]
&lt;p&gt;We recommend that you follow either the&amp;nbsp;&lt;a title="automatical installation guide" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html#gs-assistant"&gt;automatic installation guide&lt;/a&gt;&amp;nbsp;using the toolchain manager or the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html#installing-the-ncs-manually"&gt;manual installation guide&lt;/a&gt;&amp;nbsp;when setting up your nRF Connect Software Development Kit (nRF Connect SDK). I will also recommend that you take the&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;NCS fundamentals course&lt;/a&gt;&amp;nbsp;to get familiar with how the SDK is set up and how to create and modify applications in the SDK.&lt;/p&gt;
&lt;p&gt;Furthermore you will need to install&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools"&gt;nrf Command line tools (please se the step in the tutorial before installing)&lt;/a&gt;&amp;nbsp;which&amp;nbsp;useful tools required for debugging and using our tools.&lt;/p&gt;
[quote user="mexco"]1. What does &amp;quot;Run to Main &amp;quot;Time out&amp;quot; mean&amp;quot;&amp;nbsp; in debug CONSOL and why this ?[/quote]
&lt;p&gt;The debug session times out due to an error in either your application or with your SDK setup.&amp;nbsp;&lt;span&gt;Did you have &amp;quot;Enable debug options&amp;quot; selected when generating the build configuration? Please try&amp;nbsp;to generate the build configuration with this option unchecked after ensuring that your development environment&amp;nbsp;is properly configured&lt;/span&gt;&lt;/p&gt;
[quote user="mexco"]2. Is there any other debugger plugin available like PlatformIO ? The PlatformIO has support for nRF51, 52 and 53 series only, whereas I need to work on nRF91.[/quote]
&lt;p&gt;See nRF Command Line Tools, J-Link and the installation process mentioned above&lt;/p&gt;
[quote user="mexco"]3. Where id GDB installed by default in VS ?&amp;nbsp;[/quote]
&lt;p&gt;Have you checked VSCodes appdata&amp;nbsp;folder? Extensions installed within VSCode are typically rooted in the appdata or installation folder of VSCode.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulation in VS like SES</title><link>https://devzone.nordicsemi.com/thread/373310?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 16:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60361e0a-1915-4da4-9e10-a76fa0791440</guid><dc:creator>mexco</dc:creator><description>&lt;p&gt;I checked that extension is installed (See image). How to use ?? I tried by launching the icon on left side panel . Then the Debug CONSOL and terminal messages are as shown in 2nd and 3rd images.&lt;/p&gt;
&lt;p&gt;1. What does &amp;quot;Run to Main &amp;quot;Time out&amp;quot; mean&amp;quot;&amp;nbsp; in debug CONSOL and why this ?&lt;/p&gt;
&lt;p&gt;2. Is there any other debugger plugin available like PlatformIO ? The PlatformIO has support for nRF51, 52 and 53 series only, whereas I need to work on nRF91.&lt;/p&gt;
&lt;p&gt;3. Where id GDB installed by default in VS ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is t&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/pastedimage1655741032444v1.png" /&gt;&amp;nbsp;&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/pastedimage1655778510845v1.png" /&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/pastedimage1655778525583v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simulation in VS like SES</title><link>https://devzone.nordicsemi.com/thread/373257?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 13:15:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183c43c3-8d33-48a8-8087-d4f21aeb5d66</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Which version of the SDK are you using and how are you initiating the debugging session, i.e are you trying to run the debugger with the internal debugger in VSCode or are you running it with the debugger in the nRF Connect Extension for VSCode?&lt;br /&gt;&lt;br /&gt;I would also recommend you take a look at&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/79881/unable-to-use-debugger-in-vs-code-using-nrf-connect/330690#330690"&gt;this similar issue&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/79299/debugging-from-vscode-with-cortex-debug-and-nrf-connect-for-vscode/330560#330560"&gt;this one&lt;/a&gt;&amp;nbsp;to see if there are anything of help in those two tickets that might.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Andreas&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>