Definition at line 342 of file dc_args.f90.
◆ dcargsdebug0()
| subroutine dc_args::debug::dcargsdebug0 |
( |
type(args), intent(inout) |
arg | ) |
|
Auto-configure debug option
Performs automatic configuration of the debug option.
When -D or –debug is specified, automatically calls dc_trace::SetDebug to configure arg.
- Parameters
-
| [in,out] | arg | ARGS derived type variable |
Definition at line 667 of file dc_args.f90.
672 implicit none
673 type(ARGS), intent(inout) :: arg
674 logical :: OPT_debug
675 character(STRING) :: VAL_debug
676 character(len = *), parameter :: subname = 'DCArgsDebug'
677 continue
678 if (.not. arg % initialized) then
679 call messagenotify(
'W', subname,
'Call Open before Debug in dc_args.')
680 call dcargsopen(arg)
681 end if
682 call option(arg,
stoa(
'-D',
'--debug'), opt_debug, val_debug, &
683 & help="call dc_trace#SetDebug (display a lot of messages for debug). " // &
684 & "VAL is unit number (default is standard output)")
685 if (opt_debug) then
686 if (trim(val_debug) == '') then
688 else
690 end if
691 end if
692 return
Handling character types.
subroutine, public setdebug(debug)
Provides kind type parameter values.
integer, parameter, public string
Character length for string
The documentation for this interface was generated from the following file: