Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > DebugStr in Mac OS X

DebugStr in Mac OS X
Thread Tools
Greenskin
Guest
Status:
Reply With Quote
Sep 19, 2000, 12:23 PM
 
I can use CW 5 to create a Carbon app which runs natively in MacOS X Public Beta.

My question is, what does OS X do when I call DebugStr? It doesn't halt the program. I'm wondering if it gets written to a log somewhere. I've checked /var/logs/ but found nothing.


[This message has been edited by Greenskin (edited 09-19-2000).]
     
JohnStiles
Guest
Status:
Reply With Quote
Sep 19, 2000, 10:24 PM
 
I haven't tried it in OS X Public beta, but in DP4, DebugStr logged a message to the console. This is actually a lot more useful than the OS 9 behavior; it's a lot like DCon, if you've ever used that.
     
JohnStiles
Guest
Status:
Reply With Quote
Sep 19, 2000, 10:27 PM
 


[This message has been edited by JohnStiles (edited 09-19-2000).]
     
Greenskin
Guest
Status:
Reply With Quote
Sep 20, 2000, 01:16 PM
 
Right you are -- and, say, that's mighty handy!

Thanks a million.
     
Greenskin
Guest
Status:
Reply With Quote
Sep 20, 2000, 02:52 PM
 
back button.. grunt

[This message has been edited by Greenskin (edited 09-20-2000).]
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:07 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2