[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

19.0. "PROBLEM - MCC_DEB> DEPOSIT INP impossible." by KETJE::MCC () Thu Oct 05 1989 18:24

    I am trying to follow the example page 5-17 in the Toolkit reference
    manual for the DEPOSIT INP command.
    
    After 
    MCC_TBD> DEPOSIT INP
    (   <return>
    
    My process crashes (access violation).
    
    Some other forms of input didn't crashed my process, but gave no effect
    for the INP parameter because an EXAMINE /INP shows me nothing.
    
    I am sure that I am not the first with this problem, bus is there now a
    workaround ? How can I put something in the INP argument ?
    
    Regards,
    Dominique.
T.RTitleUserPersonal
Name
DateLines
19.1SOLUTION: documentation errorGOSTE::CALLANDERFri Oct 06 1989 12:0750
    
    There is a mistake in the documentation.
    
    ------------------------
    Try the following format:
    (indenting not required)
    ------------------------
    
    MCC_TBD> DEPOSIT INP
    "[ "<request code>" ] ( "
        "[ "<attr/arg code>" ] " <value>
        "[ "<attr/arg code>" ] " <value>
        "[ "<attr/arg code>" ] " <value>
                 :                  :
        "[ "<attr/arg code>" ] " <value>
    " )"

    ------------    
    Real Example:
    ------------
    
    MCC_TBD> deposit inp
    [ 0 ] (
      [ 1 ] 343
      [ 3 ] 234234
    )
    
    MCC_TBD> exam/inp
    TBD_EXAMINE verb = 0     attribute = 0   handle_state = FIRST
    TBD_EXAMINE time_spec
             NULL
    TBD_EXAMINE time_stamp
             time = 17-NOV-1858 00:00:00.00
    
    [  0 ] (
        [  1 ]     01 57
        [  3 ]     03 92 fa
        )
         TBD_EXAMINE IN_P
    
    
    MCC_TBD>
    

    ----------------------------------------------------------------------
    
    I will pass a note about this problem on to the writers so that
    the appropriate changes can be made in the documentation.
    
    /jill
19.2MCC_TBD/DBG doesn't show <my_AM> until it is calledTRADE::ASHRAFGone today, here tomorrowWed Jun 27 1990 15:3120
    
    I am having a problem debugging my AM, and hope you can help me.  I
    am using TBD with the /DEB option.  
    
    I am in a catch 22 situation.  When I enter "MCC_TBD> BREAK" and
    "DBG> SHOW IMAGE"  my image doesn't show up (contrary to the 
    description in the Debugging Manual, Sec. 4.4, "Debugging Shareable
    Images").  I need to "DBG> SET IMAGE" and "DBG> SET MODULE" before
    I can "SET BREAKPOINT ...".
    
    The only way I know how to make my AM image known to the debugger is by
    DEPOSITs and CALL ACCESS from TBD.  However, when I do that, my AM 
    crashes with ACCVIO and I can't continue the session.
    
    Is there a way to "SET IMAGE my_AM" so I can set the breakpoints
    before doing a "CALL ACCESS"?
    
    Help!!!
    
    Muhammad
19.3lib$signalDANZO::CARRTue Jul 03 1990 20:159
    re: .2
    
    Use lib$signal(ss$_debug) just after your entry point, this will cause
    control to be passed to the debugger immediately on entry into your
    AM image.
    
    Hope this helps,
    
    Dan
19.4lib$signal(SS$_DEBUG) works!TRADE::ASHRAFGone today, here tomorrowTue Jul 03 1990 21:2114
    
    Dan,
    
    Your suggestion about lib$signal(SS$_DEBUG) worked!!!  
    
    One tidbit from Ruth, that may be useful to those using TBD, is that
    enrolling an AM (even though it may have previously been enrolled)
    makes the AM image appear in the "DBG> SHOW IMAGE" list.  It will
    then work as documented in the Debugger Manual, Shareable Image
    section.
    
    Thanks for the pointers!
    
    Muhammad