Diff of /cmajor++/Cm/Cm.Debugger/DebugInfo.hpp [r570] .. [r571]  Maximize  Restore

Switch to side-by-side view

--- a/cmajor++/Cm/Cm.Debugger/DebugInfo.hpp
+++ b/cmajor++/Cm/Cm.Debugger/DebugInfo.hpp
@@ -116,7 +116,8 @@
 enum class BreakpointKind
 { 
     user, 
-    temp 
+    temp,
+    throw_
 };
 
 class Breakpoint;
@@ -196,9 +197,10 @@
     void AddBreakpoint(BreakpointPtr bp);
     BreakpointPtr GetBreakpoint(int bp);
     void RemoveBreakpoint(BreakpointPtr bp);
-    BreakpointVec GetBreakpoints() const;
+    BreakpointVec GetUserBreakpoints() const;
+    BreakpointVec GetTempBreakpoints() const;
+    BreakpointVec GetThrowBreakpoints() const;
     BreakpointPtr GetBreakpoint(const SourceFileLine& sfl) const;
-    BreakpointVec GetTempBreakpoints() const;
     void ClearTempBreakpoints();
     int GetNextUserBreakpointNumber() { return nextUserBreakpointNumber++; }
     int GetNextTempBreakpointNumber() { return nextTempBreakpointNumber--; }
@@ -237,11 +239,12 @@
     SourceFunPtr mainFun;
     int nextUserBreakpointNumber;
     int nextTempBreakpointNumber;
-    typedef std::map<int, BreakpointPtr> BreapointMap;
-    typedef BreapointMap::const_iterator BreapointMapIt;
-    BreapointMap userBreakpoints;
-    BreapointMap tempBreakpoints;
-    BreapointMap gdbBreakpoints;
+    typedef std::map<int, BreakpointPtr> BreakpointMap;
+    typedef BreakpointMap::const_iterator BreakpointMapIt;
+    BreakpointMap userBreakpoints;
+    BreakpointMap tempBreakpoints;
+    BreakpointMap throwBreakpoints;
+    BreakpointMap gdbBreakpoints;
     typedef std::map<SourceFileLine, BreakpointPtr> SourceFileLineBreakpointMap;
     typedef SourceFileLineBreakpointMap::const_iterator SourceFileLineBreakpointMapIt;
     SourceFileLineBreakpointMap sourceFileLineBreakpointMap;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks