diff options
author | Artyom Bologov | 2024-08-17 02:43:47 +0400 |
---|---|---|
committer | Artyom Bologov | 2024-08-17 02:43:47 +0400 |
commit | da3c5ad5c6db46fb2198a5bf75648e71e2a17996 (patch) | |
tree | e6f0d97327b5c2f2c60402d4cfb9b92e40609155 /src/gemma.cpp | |
parent | 3f9296136abb54717c2ebd94252aafbf9ed09e33 (diff) | |
download | pangemma-da3c5ad5c6db46fb2198a5bf75648e71e2a17996.tar.gz |
Add -debug-dump CLI flag for dumping data to files.
Diffstat (limited to 'src/gemma.cpp')
-rw-r--r-- | src/gemma.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp index b3ca4c5..c73c174 100644 --- a/src/gemma.cpp +++ b/src/gemma.cpp @@ -1601,6 +1601,9 @@ void GEMMA::Assign(int argc, char **argv, PARAM &cPar) { // cPar.mode_debug = true; debug_set_debug_data_mode(true); debug_set_debug_mode(true); + } else if (strcmp(argv[i], "-debug-dump") == 0) { + debug_set_debug_dump_mode(true, (char *)cPar.path_out.c_str()); + debug_set_debug_mode(true); } else if (strcmp(argv[i], "-debug") == 0) { // cPar.mode_debug = true; debug_set_debug_mode(true); |