<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7481814382460146194</id><updated>2012-02-16T02:35:28.200-08:00</updated><title type='text'>Complicated Technical Stuff</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://complicatedtechnicalstuff.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7481814382460146194/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://complicatedtechnicalstuff.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Oftenwrong Soong</name><uri>http://www.blogger.com/profile/16086240665939923287</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7481814382460146194.post-1697763951786496827</id><published>2009-12-09T14:59:00.000-08:00</published><updated>2009-12-09T15:02:21.053-08:00</updated><title type='text'>Long time since last post</title><content type='html'>To all zero of my loyal readers, it has been an extremely long time since the last time I posted something here. But this blog is still alive and well. In fact, as we speak, I'm working on a new post about how to do something very complicated and very technical. It will be up soon. Thanks for reading! Post a comment!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7481814382460146194-1697763951786496827?l=complicatedtechnicalstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://complicatedtechnicalstuff.blogspot.com/feeds/1697763951786496827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://complicatedtechnicalstuff.blogspot.com/2009/12/long-time-since-last-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7481814382460146194/posts/default/1697763951786496827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7481814382460146194/posts/default/1697763951786496827'/><link rel='alternate' type='text/html' href='http://complicatedtechnicalstuff.blogspot.com/2009/12/long-time-since-last-post.html' title='Long time since last post'/><author><name>Oftenwrong Soong</name><uri>http://www.blogger.com/profile/16086240665939923287</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7481814382460146194.post-6708292119889762427</id><published>2009-11-23T14:27:00.001-08:00</published><updated>2009-11-23T14:58:28.583-08:00</updated><title type='text'>Breakpoints not working in Xcode?</title><content type='html'>&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;I decided to post this because I thought my breakpoints weren't working in Xcode. When I searched for the answer, I read several posts about people's breakpoints appearing not to work and what steps they took to solve the problem. But I did not find what I'm about to write. So here goes.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;When I say a breakpoint doesn't work, I mean that execution doesn't pause there as expected. Be assured that Xcode is &lt;b&gt;not&lt;/b&gt; to blame! In my case, it was operator malfunction. I was concentrating intently on so many complicated ideas at one time that I was pushing the wrong button and getting what I thought were unexpected results. Here's what happened.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;I'm using version 3.1.3 of Xcode. As of this version and all prior ones of which I'm aware, there are two ways to start your program: Run or Debug. There's also a button called Go and another one called Build and Go. Either of these Go buttons will do either Run or Debug, depending on what you did last. I was pushing Go and getting Run when I thought I should be getting Debug.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;The difference between Run and Debug is that Run just runs your program and Debug runs your program through gdb, the GNU Debugger. If you run your program without the help of the debugger, you cannot expect breakpoints to work!&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;How can you tell whether you're doing Run or Debug? If you look in the Xcode console, you'll see gdb's startup messages scroll by when your program starts in Debug. You will not see these messages when your program starts in Run. Also, your program will take a bit longer to load when running with the help of gdb. If you click and hold over the little downward-pointing triangle on the lower right corner of the Build and Go button in the toolbar, you'll get a menu where the first item will either say, "Build and Go (Run)" or "Build and Go (Debug)," depending on which you did last. If you go up into the Run menu in the menu bar, the first item will be "Go (Run)" or "Go (Debug)," the second will be "Run" and the third will be "Debug." There are other ways (hot keys, etc.) you can control which way your program is run.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;How do you see the Xcode console? Look at the very top left of the Xcode window. Assuming you did not modify your toolbar, there should be two buttons. If you hover over the left one, you'll get a tooltip that reads "Project." This is where you edit source code. If you hover over the right one, the tooltip should read "Debug." Click on that and you should see the Xcode console at the bottom of the window.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;I came to Xcode from another IDE that automatically ran the program through the debugger if you had any breakpoints. Xcode is more flexible in that you can define breakpoints and still run your program normally (without the debugger) if you so desire. You just have to pay attention to which way you're running it (Run or Debug). I hope this helps someone who is wondering why their breakpoints don't work.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7481814382460146194-6708292119889762427?l=complicatedtechnicalstuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://complicatedtechnicalstuff.blogspot.com/feeds/6708292119889762427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://complicatedtechnicalstuff.blogspot.com/2009/11/breakpoints-not-working-in-xcode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7481814382460146194/posts/default/6708292119889762427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7481814382460146194/posts/default/6708292119889762427'/><link rel='alternate' type='text/html' href='http://complicatedtechnicalstuff.blogspot.com/2009/11/breakpoints-not-working-in-xcode.html' title='Breakpoints not working in Xcode?'/><author><name>Oftenwrong Soong</name><uri>http://www.blogger.com/profile/16086240665939923287</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
