title: Breakpoint will not currently be hit
body: <p>I'm debugging a function and trying to set a breakpoint on an API call, but I'm getting a "Breakpoint will not currently be hit" message for that line.  Here's the code:</p>
  
  <pre><code>bool __stdcall FileOperator::uploadDocument(char* filePath,long projectID)
      {
          char* filename="xyz.xlsx";
          char* docname="xyz.xlsx";
          long docID=0L;
          long lAttributeID=0;
          long lngAppID=aaApi_GetFExtensionApplication(L"xlsx");
          long lngWorkSpaceID=aaApi_GetWorkspaceProfileId(projectID,0);
          WCHAR strWorkingDir[_MAX_PATH];
  
          memset(strWorkingDir,'\0',_MAX_PATH);
  
          bool status=aaApi_CreateDocument(
              &amp;docID,
              projectID,
              0,
              0,
              0,
              lngAppID,
              0,
              lngWorkSpaceID,
              convertCharArrayToLPCWSTR(filePath),
          convertCharArrayToLPCWSTR(filename),
          convertCharArrayToLPCWSTR(docname),
              NULL,
              NULL,
              FALSE,
              AADMSDOCCREF_DEFAULT,
              strWorkingDir,
              _MAX_PATH-1,
              &amp;lAttributeID
              );
          return status;    
      }
  </code></pre>
  
  <p>If I try to set a breakpoint on the <code>aaApi_CreateDocument</code> call, I get this message:</p>
  
  <pre><code>The breakpoint will not currently be hit.  
  No executable code of the debugger's target code type is associated 
  with this line.
  Possible causes include: conditional compilation, compiler optimizations,
  or the target architecture of this line is not supported by the current 
  debugger code type.
  </code></pre>
  
  <p>And then this line is skipped when the program runs.  How can I a) set the breakpoint and b) get that line to execute?</p>