[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

926.0. "can we start action routine in debug mode" by 54625::WILLEMSG (Geert Willems MCS-Belgium) Wed Aug 16 1995 04:28



	Hi,

	PCM V1.6, OpenVMS AXP V6.1 .

	Is it possible to start an action routine in debug mode under PCM ?
	The customer wants to trace/test his action routine online.
	How can he do this ?
	
	Any help/feedback is welcome.

	Thanks in advance.

	Rgds,

	Geert
T.RTitleUserPersonal
Name
DateLines
926.1yes it's possible52483::HEUSBOURGWed Aug 16 1995 07:1519
    Geert,
    
    If I remember well (I did not do it since a while), you have to create 
    a dummy image that do nothing, just wait.
    
    Then use the PCM editor and change the command name for the action
    you want to debug, specifying the dummy image you just created.
    
    Then create a new event so that PCM re-lunch the action. In fact it
    will lunch the dummy process, which will not do anything and more
    important, will leave the IPC mechanisme intact.
    
    Then you have to define CONSOLE$ACTIONNAME and CONSOLE$EVENTPORTNAME 
    (the same way they are defined in the .COM file created by PCM in the 
    console$tmp directory), and finally you can interactively run your 
    action routine in debug mode, which will correctly connect to PCM and 
    get the corresponding events.
    
    Christian.
926.229067::BUTTERWORTHGun Control is a steady hand.Thu Aug 17 1995 13:267
    Christian,
     Your methodology is correct! Now, if you can stand the Decwindows
    symbolic debugger, you could setup a command file to SET DISPLAY/CREATE
    and run your action from there.
    
    Regs,
      Dan