• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to debug or develop incrementally in ASObjC?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to debug or develop incrementally in ASObjC?


  • Subject: How to debug or develop incrementally in ASObjC?
  • From: hb bulk <email@hidden>
  • Date: Tue, 29 Dec 2009 18:24:26 +0100

Call me stupid, but I just don't understand how I am supposed to debug in ASOC, or how I can try out and build things incrementally from code snippets without rebuilding the app zillions of times. How?

I followed the documentation in "Xcode Debugging Guide": first "Debugging Essentials", built the product with 'Debugging Symbols', read the topic "Debugging in the Text Editor", read other topics, but I just don't get anywhere!

I want to inspect variables, interface elements etcetera, to learn. How do I do that?

In ASS (Studio), when developing a largish app, I would frequently do incremental development by first trying out things directly in Script Editor, targeting the app, like this:

--existing handlers would be accessed by:
tell application "myApp" to get scripts path of main bundle & "/"
POSIX file result as string
set someScpt to load script file (result & "someScript.scpt")
--do stuff by targeting the app:
tell application "myApp"
content of stepper "Day Stepper" of box "Sources" of window 1 as integer
--check stuff, do stuff, invoke handlers, set interface elements, etcetera
end tell

When the new code snippet worked, it would be incorporated into the "real" ASS project and the app would be rebuilt. Good for incremental development, and a reasonable way to debug the software.

How can I do something similar in ASOC?
Or something to the same effect?


PS: I guess all ASOC-related discussions should be directed to the new list 'email@hidden' rather than the ASS list(?) Or? I decided to cross-post anyway since it seems that very few people have subscribed to the new list (at least judging from its minimal traffic), whereas ASOC-related posts are still sent to the studio list. Responses to this post should probably be done on the new applescriptobjc list(?)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: date works with literal, but not otherwise
  • Next by Date: Document-based apps in ASObjC
  • Previous by thread: Re: Applescriptobjc-dev Digest, Vol 2, Issue 2
  • Next by thread: Re: How to debug or develop incrementally in ASObjC?
  • Index(es):
    • Date
    • Thread