problem about xcode-instruments-Collection of common programming errors


  • Stan Sieler
    iphone console leak instruments xcode-instruments
    I’m running the Mac OS “Instruments” app, using the “Leaks Instrument” to monitor an iPhone app. The major pane is titled “Leaked Blocks”, but if you click on that you get a choice of three: “Leaked Blocks”, “Call Tree”, and “Console”. Click on “Console”.You now have a blank pane … click in it and hit . In my case, I get:foo (4259) >which is my app name and, presumably, the PID it’s running as.I can enter commands/text (e.g., ls, help, exit) … they get echoed after awhile but nothing else

  • Debugger

  • Tom Dignan
    ios profiling instruments xcode-instruments
    I really like developing for iOS more than Android. However, android SDK has a great tool for profiling, called Traceview:It can not only help to find bottlenecks, but can also show which method was running in specific moment in each thread. This can be very helpful in profiling and debugging. For example, if my app crush at some moment, I can easily see what was happening before the crash in each thread.Is there are any tool for iOS that can do similar things? I tried TimeProfiler and Sampler i

  • Toro
    iphone xcode4 xcode-instruments
    When I used Instruments tool to monitor my memory usage, I found a process named DTMobileIS use about 40% of real memory, and then there were not enough memory for my app so it crashed. I am curious about this DTMobileIS means for. Does anyone know about it?Edit: It seems like DT is the prefix of Debug Tool. And according to this link, IS sounds like the abbreviation of Instruments.

  • Avner Barr
    ios objective-c uicollectionview uicollectionviewcell xcode-instruments
    I have a gallery in my app utilizing a UICollectionView. The cells are approximately 70,70 size. I am using ALAssets from the ALAssetLibrary in the gallery which I have stored in a list. I am using the usual pattern for populating the cells:-(UICollectionViewCell*)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {mycell = [collectionView dequeueReusableCellWithReuseIdentifier:cellIdentifier forIndexPath:indexPath];mycell.imageView.image = [[UIImag

  • Brad Larson
    ios instruments ios-ui-automation xcode-instruments
    When I try to run a UI Automation script on iOS 5 devices I am getting the following error:”An error occurred while trying to run the script.”The same script is running perfectly in the simulator or on an iOS 4.3.3 device.How can I solve this problem?

  • satheeshwaran
    uitableview scroll segmentation-fault xcode-instruments
    I use a UITableview to load array of images in a UIImageView embedded in the tableview cell and also load text to UILabel at each row in iPhone.The array size is around 40+. when I scroll UITableView in simulator/device and click each row manually everything is fine.The problem is when i check the same via XCode-Instruments the app crashes(after scoll and selection of any row).The error thrown is generally “Segmentation fault 11”.What could be the possible reason for this???PS:comparing to simu

  • LampShade
    c# ios monotouch monodevelop xcode-instruments
    I’m making an iOS game in Monotouch with C# and MonoDevelop. I’m having a very strange crash. Background Information: Making a 2D war game. I’ve implemented Dijkstra’s algorithm to calculate the shortest path from source to destination with objects in-between (example: go from here to there but go around the cars/trees/buildings/or anything in the way automatically). My crash seems to be related to the 2D array of bytes that I created for this implementation of Dijkstra’s algorithm. See th

  • David Ben Ari
    ios objective-c memory-management asihttprequest xcode-instruments
    I submited an app to the app store and it was rejected due to:”We found that your app crashed on iPhone 5 running iOS 6.1.2, which is not in compliance with the App Store Review Guidelines.Your app crashed when we:when the user taps to sign into the app, a crash is produced.This occurred when your app was used: On Wi-Fi On cellular networkYour app may encounter this issue if it is using too much memory. To learn more about iOS memory usage and how to track memory usage and leaks, please see the

  • akrant_iOSDeveloper
    iphone ipad ios4 xcode-instruments
    Hi Everyone , My application is running fine in iPad. but when i am running app using instruments time profiler, its getting crash . What may be the reason? I saw some help like App crashes on certain actions when using instruments, how to find reason?But didn’t get much help .

  • Vladimir Gritsenko
    ios xcode xcode-instruments
    Our app runs fine. In Instruments (on the simulator), when trying to profile memory, under Allocations I see Overall Bytes rising very fast, while Live Bytes remain small. There are no leaks and VM usage seems stable (if large).This is not a show-stopper, but makes profiling that much more difficult. Any ideas?Thanks!

  • Roy Kronenfeld
    ios objective-c xcode crash xcode-instruments
    My app crashes on the iOS 5 iPad simulator after about 5 min of smooth running. This is the only crash reference I get from Xcode, when I try to do a profile run using zombies/memory leak, the app for some reason won’t even load (splash-screen shows and then the app crashes), I have no clue what is causing this behavior, any ideas?error: memory read failed for 0x0More info: I use ARC, the app works well on iOS6 & iOS7

  • andreapavan
    xcode debugging crash xcode-instruments
    I’m using ARC and the app crashes saying received memory warning. I’m testing the application directly on the device (iPhone 4 with iOS 7.0.2) and compiling with XCode 5 using iOS 6 SDK. I have used the apple instruments and I am having have around a 20MB LiveBytes allocated.After 4-5 min my app has 30mb of memory.After compiling and testing the app on device I see that crash after a few minutes, just after the memory warning message. Why do not happen crash using instruments? However I am tryin

  • oliver
    crash xcode-instruments
    I am using xcode Instruments to track Allocations and Leaks. My app is crashing though. It does not crash when running the regular debug or release builds standalone, only when under Instruments:Any thoughts ideas very gratefully received….Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0002b2e0 Crashed Thread: 0Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x34499c96 objc_msgSend + 14 1 ZZ

  • Jonathan Thurft
    objective-c xcode cocoa-touch xcode-instruments
    I am trying to debug a crash on my appall i get is *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]’I know its a problem with a fetch from CoreData that is returning nil.Now my objective is to see where the crash is it coming from exactly. I know there is a way to check with Instruments the exact line of code that causes my code to crash.Could anyone