From 816f43dd368e01a3f401d96df084e977cec22d15 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 16 Aug 2024 12:21:12 +0200 Subject: [PATCH] Improve debugging using shared ngspice: print out each command received. --- src/sharedspice.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sharedspice.c b/src/sharedspice.c index 291f87070..a7d858414 100644 --- a/src/sharedspice.c +++ b/src/sharedspice.c @@ -1114,6 +1114,9 @@ int ngSpice_Command(char* comexec) return 1; } + if (ft_ngdebug) + fprintf(stdout, "\nngSpiceCommand: received command '%s'\n", comexec); + if ( ! setjmp(errbufc) ) { immediate = FALSE;