<?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>Avoid breakpoint during debugging on first line of main</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69256/avoid-breakpoint-during-debugging-on-first-line-of-main</link><description>Short and simple question: Is there a way to NOT break on the start of main when I debug my app using SES?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Dec 2020 10:35:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69256/avoid-breakpoint-during-debugging-on-first-line-of-main" /><item><title>RE: Avoid breakpoint during debugging on first line of main</title><link>https://devzone.nordicsemi.com/thread/284007?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 10:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74ef9cab-a13f-48f4-8111-2ff5f0003848</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;In SES: Project Options -&amp;gt; Debugger-&amp;gt; Run to -&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid breakpoint during debugging on first line of main</title><link>https://devzone.nordicsemi.com/thread/283949?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 06:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:146f0efb-3bea-4686-94ff-2772fb02ac29</guid><dc:creator>daubsi</dc:creator><description>&lt;p&gt;Hi awneil,&lt;/p&gt;
&lt;p&gt;while this is certainly right, it might have missed the chance to describe my intent more clearly. Its not that I want to attach at an arbitrary point in time - the debugger should honor the set breakpoints, just not the invisible one at the beginning of main().&lt;/p&gt;
&lt;p&gt;Example: I want to debug some func when setting up the BLE stack and print a lot of debug infos along the way. Now every time I start debugging, I will need to switch to SES, continue at the initial breakpoint, check back in the console log and then back to SES to where it is. I&amp;#39;d rather start the debug, switch immediately to the console and read and then back to SES. A little bit a constructed example but it illustrates my point. Is this possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Avoid breakpoint during debugging on first line of main</title><link>https://devzone.nordicsemi.com/thread/283924?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 22:58:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bed2b8f-31d3-4fac-8b09-06236a0b669e</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Do Target &amp;gt; Download&lt;/p&gt;
&lt;p&gt;Then, when you want to debug, do Target &amp;gt; Attach debugger&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>