C# .NET app. debug version works well, but Release version doesn't

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everyone,
I've a C# .NET application that works as expected when
built in the debug mode. However, it behaves strangely when built in the
Release mode.

Having the .pdb file included makes the applications work well. Can anyone
please suggest on this problem?

There are a number of try/catch blocks and trace/debug statements in the
application code. I was wondering if this has any bearing on the Release
build. Please suggest.

Thank you
Ravi
 
Hi everyone,
I've a C# .NET application that works as expected when
built in the debug mode. However, it behaves strangely when built in the
Release mode.
could you more explicit?
what, for example, do you call "behave strangely"?
 
Hi Lloyd,
I've a code that uses Win32 API. I trace the events of various
windows and handle them to perform some actions. These events are available
through the Windows AccessibleEvents.

With the Release version, some of the events are being unnecessarily thrown
for some process with a negative ID. This does not occur with the Debug
version. This is causing the application to close by itself in the Release
version.

Any suggestions would be greatly appreciated.

Thanks
Ravi.


In the Release mode,
 
Back
Top