Beispiel #1
0
 private void addBreakpointOnSelectedMethodifBreakpointIsEnabledToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (currentSelectedFunction != null &&
         false == string.IsNullOrEmpty(currentSelectedFunction.File) &&
         false == string.IsNullOrEmpty(currentSelectedFunction.FileLine))
     {
         var   file = currentSelectedFunction.File;
         Int32 lineNumber;
         if (Int32.TryParse(currentSelectedFunction.FileLine, out lineNumber))
         {
             O2Messages.raiseO2MDbg_SetBreakPointOnFile(file, lineNumber);
         }
     }
 }