Test debug messages for crash localising

pull/60/head
parent fcf076bc89
commit aa25249389

@ -1209,6 +1209,7 @@ void *on_install_success(main_window *widgets){
void *on_setup_system_configuration(void *data); void *on_setup_system_configuration(void *data);
void *on_setup_system_configuration(void * data){ void *on_setup_system_configuration(void * data){
yon_debug_output("$s\n","Entered thread");
main_window *widgets = (main_window*)data; main_window *widgets = (main_window*)data;
if (widgets){}; if (widgets){};
int size; int size;
@ -1759,15 +1760,17 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
} }
if (!main_config.configure_mode){ if (!main_config.configure_mode){
yon_debug_output("$s\n","Entered saving");
if (!main_config.install_complete){ if (!main_config.install_complete){
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION); gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
} }
if (gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress))>0.9){ if (gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress))>0.9){
yon_debug_output("$s\n","Entered saving before installation done");
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION); gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
gtk_label_set_text(GTK_LABEL(widgets->InstallationLabel),CONFIGURATION_LABEL); gtk_label_set_text(GTK_LABEL(widgets->InstallationLabel),CONFIGURATION_LABEL);
pthread_t tid; pthread_t tid;
pthread_create(&tid,NULL,on_setup_system_configuration,widgets);
yon_debug_output("%s\n","installation ending configuration startup"); yon_debug_output("%s\n","installation ending configuration startup");
pthread_create(&tid,NULL,on_setup_system_configuration,widgets);
} else { } else {
pthread_t tid; pthread_t tid;
pthread_create(&tid,NULL,on_save_system_configuration,widgets); pthread_create(&tid,NULL,on_save_system_configuration,widgets);

Loading…
Cancel
Save