Skip to content

How to debug the C++ Kernel in VSCode from PyNEST program? #3168

Open
@Wang-Ling-jie

Description

@Wang-Ling-jie

I'm developing on the source of nest and followed the Install from source in a conda environment. The multi-area model I tested uses the PyNEST interface of the C++ NEST Kernel.

When I was debugging the program, the debugger just stepped over line 150 of the following picture without getting into the sli_push(args) function. But what I want to see is the complete function call chain in the NEST Kernel and how the program is executed in C++ Kernel.
image

I noted that the functions sli_push and sli_pop was loaded from the file pynestkernel.so, and I'm wondering how this file is generated during installation and how I can trace into the source code of this file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I: No breaking changePreviously written code will work as before, no one should note anything changing (aside the fix)S: NormalHandle this with default priorityT: DiscussionStill searching for the right way to proceed / suggestions welcomestaleAutomatic marker for inactivity, please have another look here

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions