Definition at line 299 of file dc_args.f90.
◆ dcargsdebug0()
| subroutine dc_args::dcargsdebug::dcargsdebug0 |
( |
type(args), intent(inout) |
arg | ) |
|
デバッグオプションの自動設定
デバッグオプションの自動設定を行います.
-D もしくは –debug が指定された際, 自動的に dc_trace::SetDebug を呼び出すよう arg を設定します.
- Parameters
-
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
subroutine, public setdebug(debug)
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
References dc_trace::setdebug(), and dc_types::string.
The documentation for this interface was generated from the following file: