I have a project that I'm building a standalone application for. Everything works great in the IDE, but when I build it, some things don't work. For example, I use the following command to call a web service:
put URL ("http://mysite.com/services/12345) into theWebPageContent
My service never gets called though. The value of theWebPageContent is empty and my logs on the server never show a call. So, I have a couple of questions
1. Is there any logging or other way to debug the standalone app? I'm wondering if this is resulting in an error or something that I'm not hearing about
2. Is there any specific library or anything that you need to call a URL that I'm missing?
Debugging standalone application
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Debugging standalone application
Dear jwbuzz ,
You need to make sure that the internet library is included. You can do this in the Standalone Application Settings window. If automatic inclusion doesn't work, try manual inclusion.
You can turn on debugging in the Standalone Application Settings window. As an alternative, you might try the shareware library errorLib, which you can find here.
Best regards,
Mark
You need to make sure that the internet library is included. You can do this in the Standalone Application Settings window. If automatic inclusion doesn't work, try manual inclusion.
You can turn on debugging in the Standalone Application Settings window. As an alternative, you might try the shareware library errorLib, which you can find here.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Debugging standalone application
I've included everything in that window and still no luck. Guess I'll try to figure out the error reporting.
Re: Debugging standalone application
jwbuzz,
Have you noticed that a quote is missing?
put URL ("http://mysite.com/services/12345") into theWebPageContent
Best regards,
Mark
Have you noticed that a quote is missing?
put URL ("http://mysite.com/services/12345") into theWebPageContent
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Debugging standalone application
Hey Mark,
Yeah.. I changed the URL to avoid posting my live URL. That's just a typo. I confirmed that the quote is there in my actual code.
Thanks,
Justin
Yeah.. I changed the URL to avoid posting my live URL. That's just a typo. I confirmed that the quote is there in my actual code.
Thanks,
Justin