| 1839 | } |
| 1840 | |
| 1841 | IScriptObject *CScriptSystem::GetBreakPoints() |
| 1842 | { |
| 1843 | Validate(); |
| 1844 | IScriptObject *pBreakPoints=CreateObject(); |
| 1845 | if(m_BreakPoint.sSourceFile.length()) |
| 1846 | { |
| 1847 | IScriptObject *pBP=CreateObject(); |
| 1848 | pBP->SetValue("line",m_BreakPoint.nLine); |
| 1849 | pBP->SetValue("sourcefile",m_BreakPoint.sSourceFile.c_str()); |
| 1850 | pBreakPoints->PushBack(pBP); |
| 1851 | pBP->Release(); |
| 1852 | Validate(); |
| 1853 | } |
| 1854 | return pBreakPoints; |
| 1855 | } |
| 1856 | |
| 1857 | void CScriptSystem::ReleaseFunc(HSCRIPTFUNCTION f) |
| 1858 | { |