I work mostly on command-line apps so printf is my primary debugging tool. I 
probably spend more time debugging printf formatting nuances then actual coding 
bugs.

The Xcode of today isn't what it was in the early years when it was competing 
directly with Codewarrior and that's a shame. Thinking back over the years, it 
seems that the transition away from its CW-like debugging tools happened around 
the time when PPC was dropped from the line. My timeline may be off a bit but I 
do remember those early days when I came to the conclusion that Xcode was OK 
and I finally stopped using CW. But gdb as a debugging tool wasn't anywhere 
near CW in terms of capabilities and developer-friendly features. Like a lot of 
software, the Xcode developers added and removed features but were those 
features that developers really liked and wanted? I don't think so or we 
wouldn't be having this discussion.
Apple listened to Taylor Swift, I hope they take note of what we're complaining 
about. They would do well to fire up an old copy of CW and look at how easy 
debugging was in that tool. 


     On Monday, June 22, 2015 12:27 PM, Jim Ingham <[email protected]> wrote:
   

 
> On Jun 21, 2015, at 10:15 AM, Peter Wagner <[email protected]> wrote:
> 
> On this topic, has anybody ever figured out a way to see values inside of 
> allocated memory on the XCode debugger?  Code Warrior had a great system 
> (command-A or fn-A) that let you view memory allocated "vectors" and 
> "matrices" (and hyper-matrices!) as if they were just normally defined 
> vectors, matrices, etc.  That was invaluable during debugging.  
> 

I don't think there is a GUI way to do this, but "memory read -t <ElementType> 
-c <NumElements>" in the lldb console provides a way to see some memory as if 
it were an array of NumElements of ElementType.

Jim


> For the life of me, I cannot make XCode do this. 
> 
> (And I, too, still keep an old Mac that runs CodeWarrior: I can debug things 
> in seconds that sometimes takes me hours to track down in XCode.)
> 
> On Jun 5, 2015, at 6:58 PM, Tony Scaminaci <[email protected]> wrote:
> 
>> I too find later versions of Xcode lacking intuitive functionality. I still 
>> have CodeWarrior on an old Quadra 950 and have to agree that CW was the gold 
>> standard IDE. It does seem that early Xcode versions were mimicking CW but 
>> over the years, the Xcode IDE has become harder to use
> 
> –––––––––––––––––––––––– 
> 
> Peter
> 
> ------------------------------------------------------------------
> Peter J. Wagner
> [email protected]
> 
> "There is nothing divine about morality; it is a purely human affair." -- 
> Albert Einstein
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/jingham%40apple.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/friskythecat%40sbcglobal.net

This email sent to [email protected]

  
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to