title: Breakpoint not triggers in Broadcast Receiver
body: <p>The title of the question pretty much sums it all, I want to debug my code in Broadcast Receiver but the break-point doesn't triggers, I am executing my android application from <strong>Debus As --> Android Application</strong>. Please help!</p>
  
  <p>[edit]</p>
  
  <p>Here is my Broadcast Receiver code:</p>
  
  <pre><code>public class Alarm extends BroadcastReceiver {
  
  @Override
  public void onReceive(Context cxt, Intent intent) {
  
      try {
  
          Bundle bundle = intent.getExtras();
          String taskName = bundle.getString("TaskName");
          String taskRingTone = bundle.getString("TaskRingTone");
          long endDateInMillis = bundle.getLong("EndDateInMillis");
  
          //to disable alarm if enddate reached.
          checkEndDate(cxt, (AlarmManager)cxt.getSystemService(Context.ALARM_SERVICE), endDateInMillis, pendingIntentId);
  
          Intent reminder = new Intent(cxt, Reminder.class);
  
          reminder.putExtra("TaskName", taskName);
          reminder.putExtra("TaskRingTone", taskRingTone);
  
          reminder.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
          cxt.startActivity(reminder);
  
  
      } catch (Exception e) {
  
          e.printStackTrace();
  
      }
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>and here is code i am using to register my receiver in the manifest:</p>
  
  <pre><code>        &lt;receiver android:process=":remote" android:name="Alarm"&gt;&lt;/receiver&gt;
  </code></pre>