views:

14

answers:

0

Hi, I have a very strange problem, that seems like a Visual Studio 2010 bug.

I have Windows 7 OS. Framework 3.5, VS 2010.

  1. I have a simple splash, defined in property of some image.
  2. I run in debug mode WPF application, that is used NHibernate and ActiveRecord (unmanaged code).
  3. The application is freezes for some time (depends of amount of data), before it is started to run and to load data from database.

  4. Each action that bring data from database is reflected to debug output window, so I am sure that nothing run in this time, because there are no prints.

  5. If I pause the running and then run again - there is no delay.
  6. If I running in Release mode - there is also no delay.
  7. If I running without splash - there is also no delay.

I think that this is a bug in studio that some how is connected to splash, my code that runs unmanaged code and all this only in Debug mode.

Any help will more than appreciated.