Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Minivend && Debugger HOWTO : Feedback please



******    message to minivend-users from Jean-Philippe Bouchard <jeanphil@sitepak.com>     ******

Hello folks,
	I've been concentrating recently on finding a way to run the perl
debugger with minivend. I found out the $ENV{'MINIVEND_DEBUG'} so I set
up my environment appropriately and ran minivend. It started showing
'Running in foreground' but forked (daemonizing) nonetheless, killing my
debugger tk window. So the next thing I tried was to set the
$Global::Windows variable as soon as possible in the program to fool it
into thinking it runs on windows (notice that you'll have to use INET
connection if you set this variable...). That solved the problem. (Btw,
minivend is still forking 8 times at the beginning but that doesn't
affect the debugger because the children are killed, not the parent). So
if you have comments on this, please let me know.

Regards.
-- 
---------------------------------
Jean-Philippe Bouchard            
Sitepak - http://www.sitepak.com/ 
jeanphil@sitepak.com              
---------------------------------
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: