On breakpoint XCode shows only aa array of vector members. So I can't view actual std::vector members, such as _M_impl. As I remember, there was this ability in XCode 3.x.
I need this data to set "Watch adress of ..." to check when it will be changed.
You can right-click in the xcode 4 variables window and select "Edit summary format...". This provides you with the same functionality as xcode 3.
That said, I still have yet to figure out how to inspect STL containers in xcode.
Related
According to Xcode Instruments 8.3 Display Settings button missing, many of the options previously present in the right-side "record settings" pane in Instruments 8.2.1 have moved to the bottom bar. However, I consistently seem to be missing settings that were previously present.
As a specific example, take the Points of Interest instrument (see Alternative to DTSendSignalFlag to identify key events in Instruments? for details on its use). Here is a blank template to which the Points of Interest instrument has been added in Instruments 8.2.1:
Note the options in the bottom-right pane, like "Color using last argument." Here's the same setup with Instruments 8.3.3:
As far as I can tell, those options are gone. This is also the case for beta versions of Instruments 9.0. Where are those options hiding, or have they been removed entirely, just a year after their introduction?
Here, under File > Recording Options:
Apple called out this move very strongly when it was made.
It's obnoxious how non-discoverable this is, but you can get to Recording Options by holding down the Option key while clicking on the Record button.
I am currently watching the video tutorials series by TheNewBoston concerning iPhone development. Unfortunately, he uses Xcode 3 in his tuts so when showing the viewers what exactly should be done to complete certain steps, it is quite difficult to follow along. Here's what I've found that isn't parallel, some of which I am figuring out as I go along, but some is still ambiguous and would be great to be clarified on the site:
Resources is supposed to be the same as 4's 'Supporting Files' folder, however doesn't contain the ViewController files I'm looking for that he demonstrates on. (How do I get to the View display?)
There's no 'tools' top menu bar option
Under this I should be able to find the option item 'Library' which contains 'Attributes' (Where are all of these components located?) - (Actually as I'm going along I'm finding some of these, but for the sake of the site's Q&A style I'll pose the question regardless.)
"Build and Run" button on home toolbar is the same as the "Run" button in 4?
I clicked the Run button and it built, but I have a big white box rectangle after I was told to put the "Bacon" label on the View Controller (which I ended up finding) - what's up with that?
When trying to add an icon to the plist file, the option to do so on the chart is not featured - where is it?
Bucky chooses a View Based Application setting when creating a new project. This is not an option in Xcode 4. What is its closest relative?
What Bucky shows is actually not under the Supporting Files folder, just under the project folder. It will not have the ".xib" ending, but rather a ".storyboard" ending.
True. Sorry.
The Library you are looking for is in the bottom right hand corner of the window. It is one of the tabs that is currently displaying the "File Template Library". Two tabs down is the object library you're looking for.
Yes.
Likely, you were creating display components under the iPhone storyboard, and the option bar just a couple buttons right of the Run button will give you the option to display the iPhone simulator. It is possibly set to the iPad display at the moment.
You must create the property. Click on one of the properties and a (+) sign will display when the item is highlighted. Click it and a new property value will come up to be defined and type in "Icon File." Ergo, you are ready to follow further into the video tut.
Although I am not certain I believe it is known as the "Single View Application" option. It seems to me that they have the same properties.
on XCode 4.2 when a breakpoint is active while debugging, if I put my mouse pointer over a variable name (into the source code) and a yellow tooltip appears and let me able to view the variabile value (for base type like int, float, and other).
Yesterday I update XCode to 4.4 (for testing my apps on iOS 5.1.1) but when the game stops into a breakpoint, and I move my mouse pointer over a variable, no yellow tooltip was showed.
I think this "fast debugging" is too important, because a programmer, else, for view class fields, need to:
1. Selecting "Local" instead "Auto"
2. Open 'self' object
3. Searching the variabile to view value
this is very slow ...
Anyone know how to solve this issue?
thank you
You may simply need to clean your build folder and have Xcode re-index the project. Hold down Option while selecting the Clean option from the menu, it'll change into Clean Build Folder.
In Xcode 3, when viewing variables with the debugger, there was a "Summary" column, shown in this image. You could edit what appeared there, so you could preview all kinds of data types. In Xcode 4, I can't find similar functionality. I've found I can right-click the variables and choose "Edit Summary Format...", but though I can edit it like in Xcode 3, the actual result doesn't seem to show up anywhere! This demonstrates my problem:
As you can see, there's no summary column. How can I actually see the result of the summary in Xcode 4?
Eh, I was having lots of issues with Xcode, so I just ended up doing a clean install. It seems to have fixed the issues. Oh well.
I've heard that the Xcode has an option to change the code and attach it directly to the existing build (run in the simulator for example).
It would be great if you have to move through many screens in the iOS application to get to the same location as before (menu1 -> menu2 -> menu3 -> content)
Could you please give me some info - what is the name of that process?
How can I do it?
How does it really work? - Let's say I've two UIViewControllers - one is with the table (let's call it MenuVC) - list of objects and once the cell was selected the second UIV.C. (let's call it DetailVC) is displayed showing details of that object. Will I've to go back to the MenuVC, do some magic tricks with Xcode and display the DetailVC again by pressing the cell? Or will the DetailVC be changed by itself but remembering the properties I've passed using MenuVC?
That feature was called "fix and continue", but it fell into disrepair and was removed from Xcode 4.