Tracking openStack

Peter Haworth pete at lcsql.com
Sun Nov 30 12:59:03 EST 2014


I'm trying to track down a strange situation where one of my stacks is
being opened automatically when LC starts up.  The stack is normally opened
as a library stack from a plugin but the plugin is set to open when I
select it from the Plugins menu, not at startup, I've verified that the
plugin is not in memory, plus the stack is not listed in the message box
Stacks In Use tab.

I've checked the code of all front, back, and library stacks and can find
no code that is opening the stack.

I've checked the stack files of all open stacks and can find no reference
to the stack.

I thought I could figure it out if I got hold of the executionContexts when
the stack opened so I put an openStack handler in the stack that is being
opened with a red dot breakpoint, a breakpoint command, and code to put the
executionContexts into the message box and also into a global variable.
The breakpoints don't fire, the message box remains empty as does the
global.  Did the same with a libraryStack handler a preOpenStack handler,
and a preOpenCard handler with the same results.

I'm out of ideas as to how to track this down so hope someone out there can
suggest something else to try.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>



More information about the use-livecode mailing list