Skip to content

Commit

Permalink
Updated BreakpointEnumerator in CorDebug project. Updated cordebug.dl…
Browse files Browse the repository at this point in the history
…l to match
  • Loading branch information
Harry Pierson committed Mar 14, 2009
1 parent 39eb5ea commit 4ca5f2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
Binary file modified CorDebug.dll
Binary file not shown.
Binary file added CorDebug.pdb
Binary file not shown.
13 changes: 5 additions & 8 deletions CorDebug/CorDebug/BreakpointEnumerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,14 @@ public bool MoveNext ()
if (r==0 && c==1) // S_OK && we got 1 new element
{
ICorDebugBreakpoint br = a[0];
throw new NotImplementedException();
/*
if(a is ICorDebugFunctionBreakpoint)
if (br is ICorDebugFunctionBreakpoint)
m_br = new CorFunctionBreakpoint((ICorDebugFunctionBreakpoint)br);
else if( a is ICorDebugModuleBreakpoint)
else if (br is ICorDebugModuleBreakpoint)
m_br = new CorModuleBreakpoint((ICorDebugModuleBreakpoint)br);
else if( a is ICorDebugValueBreakpoint)
m_br = new ValueBreakpoint((ICorDebugValueBreakpoint)m_br);
else if (br is ICorDebugValueBreakpoint)
m_br = new CorValueBreakpoint((ICorDebugValueBreakpoint)m_br);
else
Debug.Assert(false);
*/
throw new NotSupportedException("unexpected breakpoint type");
}
else
m_br = null;
Expand Down

0 comments on commit 4ca5f2a

Please sign in to comment.