[petsc-dev] VS Code debugger and PETSc

Junchao Zhang junchao.zhang at gmail.com
Sat May 29 16:30:50 CDT 2021

I don't have.  I think the main problem with petsc is one usually needs to
debug with multiple MPI ranks.
For light debug, I use gdb or tmpi <https://github.com/Azrael3000/tmpi>;
for heavy debug, I use ddt on servers (need license).

--Junchao Zhang

On Fri, May 28, 2021 at 3:14 PM Aagaard, Brad T via petsc-dev <
petsc-dev at mcs.anl.gov> wrote:

> Does anyone have any experience getting -start_in_debugger to launch the
> debugger integrated into VS Code?
> Thanks,
> Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210529/007c8bcd/attachment.html>

More information about the petsc-dev mailing list