Come ti ho già scrìtto il debugger mi segnala segmentation fault appena entra nella funzione, come faccio a debuggare linea per linea se da subito segmentation?

Card *deck=NULL;
int cardsLeftinthedeck;
Player hPlayer[NPLAYERS];

typedef struct {
char name[DIM_N+1]; //Nome Giocatore
_Bool alive; //1 Giocatore in vita 0 Giocatore morto
int nHand; //Numero carte in mano
Card* hand;
Type player_type; //Giocatore reale o IA
}Player;

typedef struct{
seme type;
char phrase[DIM_P+1];
}Card; //Singola carta con frase e tipologia

typedef enum {human, IA}Type;