Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

162
Vistas
No executable code found at line inside Observer - Android Studio gradle breakpoint

I am trying to debug inside of a LiveData Observer but the debugger says that there is

No executable code found at line ...

The following screenshot shows what it looks like after I have removed and replaced the breakpoints at the offending lines.

Android Studio breakpoints

I have already tried the following:

  • The answers on this question: Android studio gradle breakpoint No executable code found at line
  • removing .gradle, .iml, app/build and .idea and restarting
  • invalidating caches and restarting
  • adb kill-server and adb start-server
  • cleaning project and resyncing gradle
  • attaching the debugger to the running process again
  • uninstalling the app from the device and reinstalling

I am using Android Studio 3.2.1

Any other ideas?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

In my case, I was using the observer inside the fragment onActivityCreated Method. After moving code to onCreate method activity, it is started working.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda