views:

135

answers:

2

Hi,

I'm implementing a program which gets text from various sites and checks which ones are most relevant to a query. The problem is that when I have breakpoints in my code it works perfectly well but without it, the program just freezes. Is this a memory issue? What can I do to solve this please?

THanks

+1  A: 

I have had a similar problem. Disabling "Enable property evaluation and other implicit function calls" in Options->Debugging->General changed the issue. For me it made it freeze all the time, much easier to debug.

mjcopple
+3  A: 

Perhaps it's not the breakpoints that avoids your program from crashing, but the amount of time the application is stopped. Perhaps inserting some "sleep" will give you some useful insight about whats going on.

This may happen when your program interacts with thrid party libraries that behind the scenes performs asyncronous calls, or mays busy waits.

Daniel Dolz