\hypertarget{interfacedc__args_1_1debug}{}\section{dc\+\_\+args\+:\+:debug Interface Reference}
\label{interfacedc__args_1_1debug}\index{dc\+\_\+args\+::debug@{dc\+\_\+args\+::debug}}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
subroutine \hyperlink{interfacedc__args_1_1debug_aa785331cb0e52dee89ef68aef1f4a185}{dcargsdebug0} (arg)
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 286 of file dc\+\_\+args.\+f90.



\subsection{Member Function/\+Subroutine Documentation}
\mbox{\Hypertarget{interfacedc__args_1_1debug_aa785331cb0e52dee89ef68aef1f4a185}\label{interfacedc__args_1_1debug_aa785331cb0e52dee89ef68aef1f4a185}} 
\index{dc\+\_\+args\+::debug@{dc\+\_\+args\+::debug}!dcargsdebug0@{dcargsdebug0}}
\index{dcargsdebug0@{dcargsdebug0}!dc\+\_\+args\+::debug@{dc\+\_\+args\+::debug}}
\subsubsection{\texorpdfstring{dcargsdebug0()}{dcargsdebug0()}}
{\footnotesize\ttfamily subroutine dc\+\_\+args\+::debug\+::dcargsdebug0 (\begin{DoxyParamCaption}\item[{type(\hyperlink{structdc__args_1_1args}{args}), intent(inout)}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Definition at line 521 of file dc\+\_\+args.\+f90.


\begin{DoxyCode}
521     \textcolor{comment}{!}
522     \textcolor{comment}{! デバッグオプションの自動設定を行います. }
523     \textcolor{comment}{!}
524     \textcolor{comment}{! -D もしくは --debug が指定された際, 自動的に}
525     \textcolor{comment}{! dc\_trace#SetDebug を呼び出すよう *arg* を設定します.}
526     \textcolor{comment}{!}
527     \textcolor{keywordtype}{use }\hyperlink{namespacedc__types}{dc\_types}\textcolor{keywordtype}{, only}: \hyperlink{namespacedc__types_adb76910ff05e3b9fe3436567f8f8dac6}{string}
528     \textcolor{keywordtype}{use }\hyperlink{namespacedc__string}{dc\_string}\textcolor{keywordtype}{, only}: \hyperlink{interfacedc__string_1_1stoa}{stoa}, \hyperlink{interfacedc__string_1_1stoi}{stoi}
529     \textcolor{keywordtype}{use }\hyperlink{namespacedc__trace}{dc\_trace}\textcolor{keywordtype}{, only}: \hyperlink{namespacedc__trace_a2482de8a6d7c583f851677ed1a17c240}{setdebug}
530     \textcolor{keywordtype}{use }\hyperlink{namespacedc__message}{dc\_message}\textcolor{keywordtype}{, only}: \hyperlink{interfacedc__message_1_1messagenotify}{messagenotify}
531     \textcolor{keywordtype}{implicit none}
532     \textcolor{keywordtype}{type}(args), \textcolor{keywordtype}{intent(inout)} :: arg
533     \textcolor{keywordtype}{logical} :: opt\_debug
534     \textcolor{keywordtype}{character(STRING)} :: val\_debug
535     \textcolor{keywordtype}{character(len = *)}, \textcolor{keywordtype}{parameter}  :: subname = \textcolor{stringliteral}{'DCArgsDebug'}
536   \textcolor{keywordflow}{continue}
537     \textcolor{keywordflow}{if} (.not. arg % initialized) \textcolor{keywordflow}{then}
538       \textcolor{keyword}{call }\hyperlink{interfacedc__message_1_1messagenotify}{messagenotify}(\textcolor{stringliteral}{'W'}, subname, \textcolor{stringliteral}{'Call Open before Debug in dc\_args.'})
539       \textcolor{keyword}{call }dcargsopen(arg)
540 \textcolor{keywordflow}{    end if}
541     \textcolor{keyword}{call }option(arg, \hyperlink{interfacedc__string_1_1stoa}{stoa}(\textcolor{stringliteral}{'-D'}, \textcolor{stringliteral}{'--debug'}), opt\_debug, val\_debug, &
542       & help=\textcolor{stringliteral}{"call dc\_trace#SetDebug (display a lot of messages for debug). "} // &
543       & \textcolor{stringliteral}{"VAL is unit number (default is standard output)"})
544     \textcolor{keywordflow}{if} (opt\_debug) \textcolor{keywordflow}{then}
545       \textcolor{keywordflow}{if} (trim(val\_debug) == \textcolor{stringliteral}{''}) \textcolor{keywordflow}{then}
546         \textcolor{keyword}{call }\hyperlink{namespacedc__trace_a2482de8a6d7c583f851677ed1a17c240}{setdebug}
547       \textcolor{keywordflow}{else}
548         \textcolor{keyword}{call }\hyperlink{namespacedc__trace_a2482de8a6d7c583f851677ed1a17c240}{setdebug}(\hyperlink{interfacedc__string_1_1stoi}{stoi}(val\_debug))
549 \textcolor{keywordflow}{      end if}
550 \textcolor{keywordflow}{    end if}
551     \textcolor{keywordflow}{return}
\end{DoxyCode}


The documentation for this interface was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
dc\+\_\+utils/\hyperlink{dc__args_8f90}{dc\+\_\+args.\+f90}\end{DoxyCompactItemize}
