\hypertarget{_q_c___debug_program_8dox_8h_source}{}\doxysection{QC\+\_\+\+Debug\+Program.\+dox.\+h}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{3 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{5 }
\DoxyCodeLine{42 \textcolor{keyword}{class }\mbox{\hyperlink{class_qore_1_1_debug_program}{DebugProgram}} \{}
\DoxyCodeLine{43 }
\DoxyCodeLine{44 \textcolor{keyword}{public}:}
\DoxyCodeLine{46 \textcolor{comment}{/***}}
\DoxyCodeLine{47 \textcolor{comment}{ */}}
\DoxyCodeLine{48 nothing \mbox{\hyperlink{class_qore_1_1_debug_program_af00ca169aed35d3533833ed6c9537875}{addProgram}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm);}
\DoxyCodeLine{49 }
\DoxyCodeLine{50 \textcolor{keyword}{public}:}
\DoxyCodeLine{52 \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{53 \textcolor{comment}{  */}}
\DoxyCodeLine{54 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_debug_program_a319ccf1772a73f344c279e3b74942664}{breakProgram}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm);}
\DoxyCodeLine{55 }
\DoxyCodeLine{56 \textcolor{keyword}{public}:}
\DoxyCodeLine{58 \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{59 \textcolor{comment}{  */}}
\DoxyCodeLine{60 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_debug_program_a037e76587a1731677fb4ce7843a45bc3}{breakProgramThread}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm, \textcolor{keywordtype}{int} tid);}
\DoxyCodeLine{61 }
\DoxyCodeLine{62 \textcolor{keyword}{public}:}
\DoxyCodeLine{64 \textcolor{comment}{/***}}
\DoxyCodeLine{65 \textcolor{comment}{ */}}
\DoxyCodeLine{66  \mbox{\hyperlink{class_qore_1_1_debug_program_ada3f690b4f9391243747c16b2b925afe}{constructor}}();}
\DoxyCodeLine{67 }
\DoxyCodeLine{68 \textcolor{keyword}{public}:}
\DoxyCodeLine{70 }
\DoxyCodeLine{72  \mbox{\hyperlink{class_qore_1_1_debug_program_ae182473540521dcf74c683c5f707bb27}{copy}}();}
\DoxyCodeLine{73 }
\DoxyCodeLine{74 \textcolor{keyword}{public}:}
\DoxyCodeLine{76 \textcolor{comment}{/***}}
\DoxyCodeLine{77 \textcolor{comment}{ */}}
\DoxyCodeLine{78  \mbox{\hyperlink{class_qore_1_1_debug_program_aad949c4e00b880498aefe943ea7a92fd}{destructor}}();}
\DoxyCodeLine{79 }
\DoxyCodeLine{80 \textcolor{keyword}{public}:}
\DoxyCodeLine{82 \textcolor{comment}{/***}}
\DoxyCodeLine{83 \textcolor{comment}{ */}}
\DoxyCodeLine{84 \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{list}} \mbox{\hyperlink{class_qore_1_1_debug_program_a77b60d4fa6f273ac76ddd8810098de1f}{getAllPrograms}}();}
\DoxyCodeLine{85 }
\DoxyCodeLine{86 \textcolor{keyword}{public}:}
\DoxyCodeLine{88 \textcolor{comment}{/***}}
\DoxyCodeLine{89 \textcolor{comment}{ */}}
\DoxyCodeLine{90 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_debug_program_aeaa0b63e2fcf2d43f0810fd1ad013bb3}{getInterruptedCount}}();}
\DoxyCodeLine{91 }
\DoxyCodeLine{92 \textcolor{keyword}{public}:}
\DoxyCodeLine{94 \textcolor{comment}{/***}}
\DoxyCodeLine{95 \textcolor{comment}{ */}}
\DoxyCodeLine{96 abstract  \mbox{\hyperlink{class_qore_1_1_debug_program_af6128c85bed20aa75ff620395d3e650e}{onAttach}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm, reference rs, reference rtsid);}
\DoxyCodeLine{97 }
\DoxyCodeLine{98 \textcolor{keyword}{public}:}
\DoxyCodeLine{100 \textcolor{comment}{/***}}
\DoxyCodeLine{101 \textcolor{comment}{ */}}
\DoxyCodeLine{102 abstract  \mbox{\hyperlink{class_qore_1_1_debug_program_a9a4109f8e3f5571e45b1a398ffe3944a}{onDetach}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm, reference rs, reference rtsid);}
\DoxyCodeLine{103 }
\DoxyCodeLine{104 \textcolor{keyword}{public}:}
\DoxyCodeLine{106 }
\DoxyCodeLine{109 abstract  \mbox{\hyperlink{class_qore_1_1_debug_program_a7875283d2d77e2f046f668ae1dbe1481}{onException}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm, \textcolor{keywordtype}{int} statement, \mbox{\hyperlink{group__type__conversion__functions_ga2c6a87e3a5b1ab302a1fc6d390754024}{hash}} ex, reference dismiss, reference rs, reference rtsid);}
\DoxyCodeLine{110 }
\DoxyCodeLine{111 \textcolor{keyword}{public}:}
\DoxyCodeLine{113 }
\DoxyCodeLine{116 abstract  \mbox{\hyperlink{class_qore_1_1_debug_program_aff4d8aa1dbc409efbe427cc497e6d6b9}{onExit}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm, \textcolor{keywordtype}{int} statement, reference returnValue, reference rs, reference rtsid);}
\DoxyCodeLine{117 }
\DoxyCodeLine{118 \textcolor{keyword}{public}:}
\DoxyCodeLine{120 }
\DoxyCodeLine{123 abstract  \mbox{\hyperlink{class_qore_1_1_debug_program_a141bcffa9c0c190e1e7cfc0e6a7abc89}{onFunctionEnter}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm, \textcolor{keywordtype}{int} statement, reference rs, reference rtsid);}
\DoxyCodeLine{124 }
\DoxyCodeLine{125 \textcolor{keyword}{public}:}
\DoxyCodeLine{127 }
\DoxyCodeLine{130 abstract  \mbox{\hyperlink{class_qore_1_1_debug_program_a4312a29a6f9fc51f6a25a1c9441d2444}{onFunctionExit}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm, \textcolor{keywordtype}{int} statement, reference returnValue, reference rs, reference rtsid);}
\DoxyCodeLine{131 }
\DoxyCodeLine{132 \textcolor{keyword}{public}:}
\DoxyCodeLine{134 \textcolor{comment}{/***}}
\DoxyCodeLine{135 \textcolor{comment}{ */}}
\DoxyCodeLine{136 abstract  \mbox{\hyperlink{class_qore_1_1_debug_program_ad8cd7b6c9842b2f05888713d1deaf9c7}{onStep}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm, \textcolor{keywordtype}{int} blockStatement, \_\_7\_ \textcolor{keywordtype}{int} statement, \_\_7\_ \textcolor{keywordtype}{int} breakpointId, reference flow, reference rs, reference rtsid);}
\DoxyCodeLine{137 }
\DoxyCodeLine{138 \textcolor{keyword}{public}:}
\DoxyCodeLine{140 \textcolor{comment}{/***}}
\DoxyCodeLine{141 \textcolor{comment}{ */}}
\DoxyCodeLine{142 nothing \mbox{\hyperlink{class_qore_1_1_debug_program_a3248a531df6eedc2ccbb921a968005dd}{removeProgram}}(\mbox{\hyperlink{class_qore_1_1_program_control}{ProgramControl}} pgm);}
\DoxyCodeLine{143 }
\DoxyCodeLine{144 \textcolor{keyword}{public}:}
\DoxyCodeLine{146 \textcolor{comment}{/***}}
\DoxyCodeLine{147 \textcolor{comment}{ */}}
\DoxyCodeLine{148 nothing \mbox{\hyperlink{class_qore_1_1_debug_program_aa2d8b9749741cfcc6f972a627d75cbd1}{waitForTerminationAndClear}}();}
\DoxyCodeLine{149 \};}
\DoxyCodeLine{157 }
\DoxyCodeLine{159     \textcolor{keyword}{const} \mbox{\hyperlink{group__debug__rs__options_ga501fadc19d156f517fa6c0d99fe3e0c2}{DebugDetach}} = DBG\_RS\_DETACH;}
\DoxyCodeLine{161     \textcolor{keyword}{const} \mbox{\hyperlink{group__debug__rs__options_ga8d63bdbd905c3bd6fb546ce6a57717d1}{DebugRun}} = DBG\_RS\_RUN;}
\DoxyCodeLine{163     \textcolor{keyword}{const} \mbox{\hyperlink{group__debug__rs__options_ga081d0b135c04fc78bee0926759f49c30}{DebugStep}} = DBG\_RS\_STEP;}
\DoxyCodeLine{165     \textcolor{keyword}{const} \mbox{\hyperlink{group__debug__rs__options_ga8759b381e2da1d26a47bedc00df36f77}{DebugStepOver}} = DBG\_RS\_STEP\_OVER;}
\DoxyCodeLine{167     \textcolor{keyword}{const} \mbox{\hyperlink{group__debug__rs__options_ga6d1c09ae9e0431cc586fbdeec60caac8}{DebugUntilReturn}} = DBG\_RS\_UNTIL\_RETURN;}
\DoxyCodeLine{169 }
\DoxyCodeLine{175 }
\DoxyCodeLine{177     \textcolor{keyword}{const} \mbox{\hyperlink{group__debug__flow__options_gafc951fa946a7551e02bceeee1aa10ef1}{DebugFlowBreak}} = RC\_BREAK;}
\DoxyCodeLine{179     \textcolor{keyword}{const} \mbox{\hyperlink{group__debug__flow__options_gaf5b5e4f7fd484abfe263530e602b7570}{DebugFlowContinue}} = RC\_CONTINUE;}
\DoxyCodeLine{181     \textcolor{keyword}{const} \mbox{\hyperlink{group__debug__flow__options_ga6a06fcd79ab3e84ca2abfa8d87356ccd}{DebugFlowReturn}} = RC\_RETURN;}
\DoxyCodeLine{183 \}}

\end{DoxyCode}
