Wednesday, November 20, 2019

#1 2019-04-19 12:25:05 pm

Jonny_FairPlay
Member
Registered: 2019-04-17
Posts: 4

Not clear on Stack Overflow Error

Im building an applescriptobjc app in Xcode and I'm getting a Stack overflow error, and Im not sure how to really pinpoint where/What the problem actually is (what lines of code are causing it).

The log window just gives me the handlers name and then the stack overflow error message. I've never had a Stack Overflow error. The handler just has variables, and calls to other handlers.
Is it in the Handler the log indicates, or from one of the other handlers? (hope that made sense)

Im not sure how to find it and fix it.

Offline

 

#2 2019-04-19 05:53:23 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 6035

Re: Not clear on Stack Overflow Error

Stack overflow errors are notoriously difficult to pin down. They're a bit like AppleScript saying sorry, things have just got too complex. All you can do is add logging in the hope that there's something consistent to it.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)