Re: getting data from the memory space of a hung app
Phil, You would probably have to prepare in advance for a situation like this, and use arrayEncode to create a binary form of the array and save it to disk. Maybe you would do this as certain intervals in preparation for a possible crash. Otherwise, there are debugging/hacking tools which can scrape info out of memory to perform these kinds of tasks. David Simpson www.fmpromigrator.com On Sep 29, 2014, at 12:30 PM, Phil Davis rev...@pdslabs.net wrote: Hi folks, Are you aware of any way to save the in-memory data of a standalone app that's currently not responding? This is on a Mac, probably OS 10.8.x or maybe 10.9.x. Right-clicking the app's icon in the Dock gives you the force quit option. The data is in an array. I created a stack my client can drag onto the app icon, which will [ideally] open it and save that array to disk, but I don't hold out a lot of hope that it'll open. I realize this is an extreme long shot but I told my client I would ask. Thanks - -- Phil Davis ___ livecode-dev mailing list livecode-...@lists.runrev.com http://lists.runrev.com/mailman/listinfo/livecode-dev ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: getting data from the memory space of a hung app
Thanks David. Ah yes... I'm finding some of these as I Google memory scraping tools. Phil On 9/29/14 12:32 PM, David Simpson wrote: Phil, You would probably have to prepare in advance for a situation like this, and use arrayEncode to create a binary form of the array and save it to disk. Maybe you would do this as certain intervals in preparation for a possible crash. Otherwise, there are debugging/hacking tools which can scrape info out of memory to perform these kinds of tasks. David Simpson www.fmpromigrator.com On Sep 29, 2014, at 12:30 PM, Phil Davis rev...@pdslabs.net wrote: Hi folks, Are you aware of any way to save the in-memory data of a standalone app that's currently not responding? This is on a Mac, probably OS 10.8.x or maybe 10.9.x. Right-clicking the app's icon in the Dock gives you the force quit option. The data is in an array. I created a stack my client can drag onto the app icon, which will [ideally] open it and save that array to disk, but I don't hold out a lot of hope that it'll open. I realize this is an extreme long shot but I told my client I would ask. Thanks - -- Phil Davis ___ livecode-dev mailing list livecode-...@lists.runrev.com http://lists.runrev.com/mailman/listinfo/livecode-dev ___ livecode-dev mailing list livecode-...@lists.runrev.com http://lists.runrev.com/mailman/listinfo/livecode-dev -- Phil Davis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
getting data from the memory space of a hung app
Hi folks, Are you aware of any way to save the in-memory data of a standalone app that's currently not responding? This is on a Mac, probably OS 10.8.x or maybe 10.9.x. Right-clicking the app's icon in the Dock gives you the force quit option. The data is in an array. I created a stack my client can drag onto the app icon, which will [ideally] open it and save that array to disk, but I don't hold out a lot of hope that it'll open. I realize this is an extreme long shot but I told my client I would ask. Thanks - -- Phil Davis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: getting data from the memory space of a hung app
Phil Davis wrote: Thanks David. Ah yes... I'm finding some of these as I Google memory scraping tools. Unfortunately, even if you could sort through a core dump, if my understanding of arrays is correct it'll be very difficult to piece together the many different memory locations where array data is stored. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: getting data from the memory space of a hung app
Good point, Richard. Thanks. Phil On 9/29/14 12:55 PM, Richard Gaskin wrote: Phil Davis wrote: Thanks David. Ah yes... I'm finding some of these as I Google memory scraping tools. Unfortunately, even if you could sort through a core dump, if my understanding of arrays is correct it'll be very difficult to piece together the many different memory locations where array data is stored. -- Phil Davis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode