\doxysection{QC\+\_\+\+Debug\+Program.\+dox.\+h}
\hypertarget{_q_c___debug_program_8dox_8h_source}{}\label{_q_c___debug_program_8dox_8h_source}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00003\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00005\ }
\DoxyCodeLine{00042\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_qore_1_1_debug_program}{DebugProgram}}\ \{}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00044\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00046\ \textcolor{comment}{/***}}
\DoxyCodeLine{00047\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00048\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_debug_program_af00ca169aed35d3533833ed6c9537875}{addProgram}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}});}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00052\ \textcolor{comment}{/***\ @return\ 0\ if\ the\ operation\ was\ successful,\ returns\ -\/1\ if\ the\ program\ does\ not\ allow\ debugging\ (i.e.\ @ref\ Qore::PO\_NO\_DEBUGGING\ is\ set)\ or\ -\/2\ if\ the\ program\ has\ not\ been\ set\ as\ a\ debug\ target}}
\DoxyCodeLine{00053\ \textcolor{comment}{\ \ */}}
\DoxyCodeLine{00054\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_debug_program_a319ccf1772a73f344c279e3b74942664}{breakProgram}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}});}
\DoxyCodeLine{00055\ }
\DoxyCodeLine{00056\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00058\ \textcolor{comment}{/***\ @return\ 0\ if\ the\ operation\ was\ successful,\ returns\ -\/1\ if\ the\ program\ does\ not\ allow\ debugging\ (i.e.\ @ref\ Qore::PO\_NO\_DEBUGGING\ is\ set),\ -\/2\ if\ the\ program\ has\ not\ been\ set\ as\ a\ debug\ target,\ or\ -\/3\ if\ the\ given\ thread\ is\ not\ active\ in\ the\ target\ program}}
\DoxyCodeLine{00059\ \textcolor{comment}{\ \ */}}
\DoxyCodeLine{00060\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_debug_program_a037e76587a1731677fb4ce7843a45bc3}{breakProgramThread}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}},\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{tid}});}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00062\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00064\ \textcolor{comment}{/***}}
\DoxyCodeLine{00065\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00066\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_ada3f690b4f9391243747c16b2b925afe}{constructor}}();}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00068\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00072\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_ae182473540521dcf74c683c5f707bb27}{copy}}();}
\DoxyCodeLine{00073\ }
\DoxyCodeLine{00074\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00076\ \textcolor{comment}{/***}}
\DoxyCodeLine{00077\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00078\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_aad949c4e00b880498aefe943ea7a92fd}{destructor}}();}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00080\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00082\ \textcolor{comment}{/***}}
\DoxyCodeLine{00083\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00084\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list}}\ \mbox{\hyperlink{class_qore_1_1_debug_program_a77b60d4fa6f273ac76ddd8810098de1f}{getAllPrograms}}();}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00086\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00088\ \textcolor{comment}{/***}}
\DoxyCodeLine{00089\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00090\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_debug_program_aeaa0b63e2fcf2d43f0810fd1ad013bb3}{getInterruptedCount}}();}
\DoxyCodeLine{00091\ }
\DoxyCodeLine{00092\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00094\ \textcolor{comment}{/***}}
\DoxyCodeLine{00095\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00096\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{abstract}}\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_af6128c85bed20aa75ff620395d3e650e}{onAttach}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rs}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rtsid}});}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00098\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00100\ \textcolor{comment}{/***}}
\DoxyCodeLine{00101\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00102\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{abstract}}\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_a9a4109f8e3f5571e45b1a398ffe3944a}{onDetach}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rs}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rtsid}});}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00104\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00106\ }
\DoxyCodeLine{00109\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{abstract}}\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_a7875283d2d77e2f046f668ae1dbe1481}{onException}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}},\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{statement}},\ \mbox{\hyperlink{group__type__conversion__functions_ga2c6a87e3a5b1ab302a1fc6d390754024}{hash}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{ex}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{dismiss}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rs}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rtsid}});}
\DoxyCodeLine{00110\ }
\DoxyCodeLine{00111\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00113\ }
\DoxyCodeLine{00116\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{abstract}}\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_aff4d8aa1dbc409efbe427cc497e6d6b9}{onExit}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}},\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{statement}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{returnValue}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rs}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rtsid}});}
\DoxyCodeLine{00117\ }
\DoxyCodeLine{00118\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00120\ }
\DoxyCodeLine{00123\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{abstract}}\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_a141bcffa9c0c190e1e7cfc0e6a7abc89}{onFunctionEnter}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}},\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{statement}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rs}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rtsid}});}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00125\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00127\ }
\DoxyCodeLine{00130\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{abstract}}\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_a4312a29a6f9fc51f6a25a1c9441d2444}{onFunctionExit}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}},\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{statement}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{returnValue}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rs}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rtsid}});}
\DoxyCodeLine{00131\ }
\DoxyCodeLine{00132\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00134\ \textcolor{comment}{/***}}
\DoxyCodeLine{00135\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00136\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{abstract}}\ \ \mbox{\hyperlink{class_qore_1_1_debug_program_ad8cd7b6c9842b2f05888713d1deaf9c7}{onStep}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}},\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{blockStatement}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{statement}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{breakpointId}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{flow}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rs}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{reference}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{rtsid}});}
\DoxyCodeLine{00137\ }
\DoxyCodeLine{00138\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00140\ \textcolor{comment}{/***}}
\DoxyCodeLine{00141\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00142\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_debug_program_a3248a531df6eedc2ccbb921a968005dd}{removeProgram}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{pgm}});}
\DoxyCodeLine{00143\ }
\DoxyCodeLine{00144\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00146\ \textcolor{comment}{/***}}
\DoxyCodeLine{00147\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00148\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_debug_program_aa2d8b9749741cfcc6f972a627d75cbd1}{waitForTerminationAndClear}}();}
\DoxyCodeLine{00149\ \};}
\DoxyCodeLine{00157\ }
\DoxyCodeLine{00159\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__debug__rs__options_ga501fadc19d156f517fa6c0d99fe3e0c2}{DebugDetach}}\ =\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{DBG\_RS\_DETACH}};}
\DoxyCodeLine{00161\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__debug__rs__options_ga8d63bdbd905c3bd6fb546ce6a57717d1}{DebugRun}}\ =\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{DBG\_RS\_RUN}};}
\DoxyCodeLine{00163\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__debug__rs__options_ga081d0b135c04fc78bee0926759f49c30}{DebugStep}}\ =\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{DBG\_RS\_STEP}};}
\DoxyCodeLine{00165\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__debug__rs__options_ga8759b381e2da1d26a47bedc00df36f77}{DebugStepOver}}\ =\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{DBG\_RS\_STEP\_OVER}};}
\DoxyCodeLine{00167\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__debug__rs__options_ga6d1c09ae9e0431cc586fbdeec60caac8}{DebugUntilReturn}}\ =\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{DBG\_RS\_UNTIL\_RETURN}};}
\DoxyCodeLine{00169\ }
\DoxyCodeLine{00175\ }
\DoxyCodeLine{00177\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__debug__flow__options_gafc951fa946a7551e02bceeee1aa10ef1}{DebugFlowBreak}}\ =\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{RC\_BREAK}};}
\DoxyCodeLine{00179\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__debug__flow__options_gaf5b5e4f7fd484abfe263530e602b7570}{DebugFlowContinue}}\ =\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{RC\_CONTINUE}};}
\DoxyCodeLine{00181\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{group__debug__flow__options_ga6a06fcd79ab3e84ca2abfa8d87356ccd}{DebugFlowReturn}}\ =\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{RC\_RETURN}};}
\DoxyCodeLine{00183\ \}}

\end{DoxyCode}
