✅ [SOLVED] app hangs during JSON serialization
Whenever the program gets to the part where it has to read or write to file, it succeeds but then doesn't continue farther
9 Replies
Did you debug it?
nothing stood out to me, but I'm new to c# development
Where exactly is it hanging?
at
CzyZapisac()
.
ZapiszPytaniaDoPliku()
finishes it's job, Writes the line to the console, and nothing else happens
It's supposed to go back to the while(true)
loop in StworzPytanie()
i got it
the while(true)
loop in CzyZapisac()
was running infinitely
it was also completely unnecessaryNice!
!solved
Why was it running infinitely tho?
no idea, a
break;
instruction in the switch statement should have closed it, but wouldn'tIf you have no further questions, please use /close to mark the forum thread as answered