Debugging standalone application

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Debugging standalone application

Post by jwbuzz » Fri Apr 16, 2010 6:31 pm

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?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Debugging standalone application

Post by Mark » Fri Apr 16, 2010 8:03 pm

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
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

jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Re: Debugging standalone application

Post by jwbuzz » Fri Apr 16, 2010 8:10 pm

I've included everything in that window and still no luck. Guess I'll try to figure out the error reporting.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Debugging standalone application

Post by Mark » Fri Apr 16, 2010 8:22 pm

jwbuzz,

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

jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Re: Debugging standalone application

Post by jwbuzz » Sat Apr 17, 2010 3:55 am

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

Post Reply