[Info-vax] fortran version && Compile the main file in debug mode only

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Wed Aug 26 11:06:56 EDT 2020


On 2020-08-26 11:44:41 +0000, HCorte said:

> have readed that section of B-1 where to use SS$_DEBUG to make/tell a 
> program to start the debugger.
> 
> So searched and include the follow: CALL LIB$SIGNAL (%VAL(SS$_DEBUG))

The include file $SSDEF as has been mentioned, and you'll probably want 
to specify the ASCIC-format counted-ASCII-string-by-reference 
semi-colon separated list of debugger commands to invoke, if you're 
self-debugging. That's where you set the output path to write the 
debugger output, etc., if you're writing a replacement for the default 
spew-to-the-user stackdump handler. (There are also TBK$ calls around 
for invoking traceback, if you're interested in that topic.)

The OpenVMS Fortran users guide is (will be) your friend here with 
programming F95 on OpenVMS, as will be the OpenVMS programming concepts 
manual for more general OpenVMS programming info. These documents can 
provide coverage for system includes and system services and other 
topics and details. Then the OpenVMS Fortran reference manual, for 
reference-related information on OpenVMS Fortran.


-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list