Fix pending breakpoints
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Sun, 9 Jul 2017 14:53:18 +0000 (17:53 +0300)
committerIgor Kulaychuk <i.kulaychuk@samsung.com>
Mon, 13 Nov 2017 19:22:40 +0000 (22:22 +0300)
src/debug/debugger/breakpoints.cpp

index 2e7fe75..8507ad1 100644 (file)
@@ -72,7 +72,7 @@ HRESULT PrintBreakpoint(ULONG32 id, std::string &output)
         else
         {
             ss << "bkpt={number=\"" << id << "\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\","
-               "warning=\"No executable code of the debuggers target code type is associated with this line.\"}";
+               "warning=\"No executable code of the debugger's target code type is associated with this line.\"}";
             Status = S_FALSE;
         }
         output = ss.str();
@@ -215,6 +215,8 @@ HRESULT CreateBreakpointInProcess(ICorDebugProcess *pProcess, std::string filena
     IfFailRet(pProcess->EnumerateAppDomains(&domains));
 
     Breakpoint bp;
+    bp.fullname = filename;
+    bp.linenum = linenum;
 
     ICorDebugAppDomain *curDomain;
     ULONG domainsFetched;