qqdev
qqdev
CC#
Created by NilT_PL#9208 on 4/16/2025 in #help
✅ [SOLVED] app hangs during JSON serialization
Why was it running infinitely tho?
14 replies
CC#
Created by NilT_PL#9208 on 4/16/2025 in #help
✅ [SOLVED] app hangs during JSON serialization
Nice!
14 replies
CC#
Created by NilT_PL#9208 on 4/16/2025 in #help
✅ [SOLVED] app hangs during JSON serialization
Where exactly is it hanging?
14 replies
CC#
Created by NilT_PL#9208 on 4/16/2025 in #help
✅ [SOLVED] app hangs during JSON serialization
Did you debug it?
14 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
!close
108 replies
CC#
Created by ElectricTortoise on 2/3/2025 in #help
✅ Deep copy struct
But you can start off with ICloneable
90 replies
CC#
Created by ElectricTortoise on 2/3/2025 in #help
✅ Deep copy struct
I usually create an IDeepCloneable interface to make it clear that we are dealing with a deep copy here
90 replies
CC#
Created by ElectricTortoise on 2/3/2025 in #help
✅ Deep copy struct
Hi! What's the question here?
90 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
Happens to the best :when:
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
You are welcome!
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
I usually tend to log ex.ToString() because that also includes the stack trace which is often times really helpful. Especially when dealing with rare exceptions
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
The handling of the exception is a bit misleading because it might not be newPath which is causing it here
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
Because we have to make sure that the code after the deserialization is not causing it
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
Did you debug that?
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
Where does it actually throw the exception?
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
And you are still sure that the file exists? Because you mentioned that it was deleted which sounds interesting to me
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
Can you debug and show us the value of newPath?
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
Sth must be wrong obviously
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
I have no clue why it is throwing
108 replies
CC#
Created by Erich21 on 2/1/2025 in #help
✅ Newtonsoft JSON - file not found
And can you show the current code again?
108 replies