When release dlls don't work but debug dlls do

前端 未结 15 1408
我寻月下人不归
我寻月下人不归 2020-12-30 03:14

After deploying our huge distributed system to one of our clients we experience an unexpected error. During the investigation we replace the assembly causing the error with

15条回答
  •  误落风尘
    2020-12-30 04:03

    You probably know this, but, variables are sometimes initialised differently in debug and release builds. E.g. I think variables are auto-init'd in VC6 debug builds, this can hide problems if you didn't initialise something. I also think debug arrays may use sentry bytes in an attempt to indicate overruns. This too can lead to different behaviour.

提交回复
热议问题