05-01-2006 03:16 PM
Though you can certainly change the implementation of the example as you see fit! One possible way to debug this situation is to create a log file which will trace all the calls to the breakonlibraryerrors functions. You could create a single file “programtrace.txt” and just write a line “enable\n” or “disable\n” to the file for each corresponding call. Whenever you get a library error unexpectedly you could open the file. If the last entry in the file is “disable” then there is clearly something wrong happening or another execution thread that you have not written is enabling the errors. If the last call in the file is “enable”, the problem lies somewhere in your code which results in the library errors being enabled. Hopefully this will shed a little more light on the situation.
12-18-2019 09:34 PM
您好,
目前我这边也出现了和您之前一样的问题,使用 DisableBreakOnLibraryErrors 和EnableBreakOnLibraryErrors 并不能阻止-11 Timeout error 的错误提示,请问您最后是如果解决的呢?看您的贴子已经过去很久了,希望您还记得当时的解决方案。
请教您。