From b8e3df2ce00b9c483054064d80e8834938833709 Mon Sep 17 00:00:00 2001 From: bsp2 Date: Sat, 20 Oct 2018 13:54:44 +0200 Subject: [PATCH] add some more debug printfs --- other/vst2_debug_host/vst2_debug_host.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/other/vst2_debug_host/vst2_debug_host.cpp b/other/vst2_debug_host/vst2_debug_host.cpp index 5672c411..a1167025 100644 --- a/other/vst2_debug_host/vst2_debug_host.cpp +++ b/other/vst2_debug_host/vst2_debug_host.cpp @@ -213,11 +213,14 @@ void open_and_close(void) { printf("[---] failed to find mainProc\n"); } + printf("xxx debug_host: closing library\n"); + #ifdef YAC_WIN32 ::FreeLibrary(dllHandle); #else ::dlclose(dllHandle); #endif + printf("xxx debug_host: library closed\n"); } for(int i = 0; i < 48; i++) @@ -231,10 +234,11 @@ void open_and_close(void) { #endif } - int main() { - for(int i = 0; i < 5; i++) - { - open_and_close(); - } +int main() { + for(int i = 0; i < 5; i++) + { + open_and_close(); + } + printf("xxx debug_host: exiting\n"); return 0; }