T.R | Title | User | Personal Name | Date | Lines |
---|
19.1 | SOLUTION: documentation error | GOSTE::CALLANDER | | Fri Oct 06 1989 10:07 | 50 |
|
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.2 | MCC_TBD/DBG doesn't show <my_AM> until it is called | TRADE::ASHRAF | Gone today, here tomorrow | Wed Jun 27 1990 12:31 | 20 |
|
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.3 | lib$signal | DANZO::CARR | | Tue Jul 03 1990 17:15 | 9 |
| 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.4 | lib$signal(SS$_DEBUG) works! | TRADE::ASHRAF | Gone today, here tomorrow | Tue Jul 03 1990 18:21 | 14 |
|
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
|