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

276
Vistas
How do I run gdb on .net unit tests?

I have some code which does native interop and is having a segfault when running unit tests with dotnet test.

If I call the test code without 'dotnet test' then it doesn't segfault.

I need to be able to run gdb to debug the segfault but running gdb on 'dotnet test' doesn't work, it seems that it launches another process to do the tests. This means the segfault happens on a process that gdb isn't attached to. For example the following command doesn't result in gdb being able to catch the segfault.

gdb --args dotnet test

How can I use gdb to debug native c# interop in my .net unit tests.

(the tests actually use SpecFlow which uses nunit)

over 4 years ago · Santiago Trujillo
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