The breakpoint will not currently be hit. The specified module has not been loaded

The breakpoint will not currently be hit. The specified module has not been loaded

When you debug with Visual Studio 2005 and a Windows Mobile/Windows CE/Pocket PC from 5.0 to 6.5 version device running .NET Compact Framework 2.0 breakpoint not works showing a ring instead of the normal red dot and when holding the mouse over it shows the above error message.

Solution:
Close Visual Studio and re-install the SDK.

Note: If still not work download and install the following patch
.NET Compact Framework 2.0 Service Pack 1 Patch

Did my solution solve your problem? Leave a reply.

Windows Phone – “Navigation is not allowed when the task is not in the foreground. Error: -2147220990”

When you debug your Windows Phone application that use a task and call the Show method your app crash with the following error message:

System.InvalidOperationException:
Navigation is not allowed when the task is not in the foreground. Error: -2147220990

Solution:

Add Show method in try/catch block

For example:

private void appBarButton_Click(object sender, EventArgs e)
{
  WebBrowserTask task = new WebBrowserTask();
  task.Uri = new Uri("http://www.myerrorsandmysolutions.com/");
  try
  {
    task.Show();
  }
  catch 
  { }
}

Did my solution solve your problem? Leave a reply.

Eclipse – “An internal error occurred during: “Launching …”. java.lang.NullPointerException”

After deleting an ADV or changing Android Project target when you run or debug show the following error message:

An internal error occurred during: “Launching {project name}”.
java.lang.NullPointerException

Solution:

1) Launch ADV Manager, verify if there is an AVD for your Android Project target else create an ADV for your Target (Click on New… button, enter a Name, select your Target then press Create ADV button)
2) Run Eclipse, right-click on your Android Project name in the Package Explorer window
3) Select Properties or press Alt+Enter
4) Click on Run/Debug Settings then select your project name and click Edit
5) Select Target tab
6) Click on Automatic mode and press Refresh button

If you have more AVD for the same Target:
– Select the checkbox the ADV verified or created at point 1) then click on Manual mode

7) Press Apply button then OK button

Now you can run or debug your Android Project.

Did my solution solve your problem?