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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2665.0. "Debugger pb. on T1.2.4 VMS ????" by TAEC::HAYES (Tu quoque mi fili ! C.Hayes SVP @VBE) Tue Mar 31 1992 11:45



	Hello,


	My customer is working with DECmcc V1.2 EFT T1.2.4
	(and SNMP AM T1.2.4 too).
	on VMS5.4-2 on a VS3100 M76 SPX 24MB memory.

	They have developed a prototype Access Module
	but without using the VMS Debugger as it is impossible
	to start it.

	I tried on their machine.

	They have a shareable image called DBGSSISHR.
	
	They compile /noopt/deb and link/debug.
	$define dbg$decw$display " "
	$define mcc_mymm_am_log 3
	$define mcc_mymm_am sys$sysdevice:[customer]mcc_mymm_am.exe

	$manage/enter/deb
	MCC> enroll mcc_mymm_am
	They get the usual message ...dispatch table entries
	found and replaced.. but no debugger prompt here !!!! 
	MCC>exit
	DBG> show image
	..MCC_MYMM_AM not set...
	DBG> set image MCC_MYMM_AM
	DBG> go
	...cannot start from PC 000000

	I tried a DBG> set module/all DBG> set source sys$sysdevice:[customer]
        without success.

        Do someone has an idea ?????


	Any test they could perform would help ..

	They were very courageous to develop the prototype without
	the help of the debugger.


		Thanks for an answer


			CjH

	   	
	
T.RTitleUserPersonal
Name
DateLines
2665.1Try thisTOOK::BURGESSTue Mar 31 1992 14:4025
	manage/enterprise/debug 	activates the debugger.

	During the enrollment process the shared image (MCC_MYMM_AM)
	is image activated and the "init", "probe", "log" rtns
	are called.

	1) the AM can be changed to conditionally
	   (usually testing the am_log bit mask)
	   	lib$signal(SS$_DEBUG)

	   which will transfer control to the debugger
	   at that point, allowing the developer
	   to insert his break-points etc., and later
	   "go" to resume processing

		or

        2)  If the user enters ctrl/g, then control will be 
	    transfered to the debugger.  The developer
	    can then set image MCC_MYMM_AM... SET BR ..


\Pete	   	
	

2665.2Houra..You solved it Thanks !TAEC::HAYESTu quoque mi fili ! C.Hayes SVP @VBEThu Apr 02 1992 03:3318
    
    
                     
    	Thanks a lot for your reply.
    
    	This was the only thing we did not test as we
    	trusted their code but the lib$signal was conditionalized
    	and the condition was evaluated to false...
    
    
    	It is working fine now...
    
    
    		Best Regards
    
    
    
    			Cath.