+5
Completed

Bug: Hanging in visual studio 2019

Daniel C 12 months ago updated by Omer Raviv (CTO) 11 months ago 5

Not a feature request, but a bug report...


When debugging, I repeatedly get this kind of message, and it hangs for a significant period of time ( > 1 minute )

"Evaluating expression 'global::OzCode.Debugger.Probe.Predict.Hook.StartNewSubmission(),nse'...


Answer

Answer
Completed

Hi Daniel and Michael,

Thanks for reporting this issue with OzCode, we have found the source of the problem and believe that the latest revision of OzCode v4.0 (get it directly from here) should fix this problem.

New support tickets can always be opened via https://oz-code.com/submit-a-ticket/

Same here. VS 2019 says Ozcode 4.0.0.600 stalled the debugging session for 27 seconds. Mousing over any variable while the debugger is paused triggers the above mentioned dialog. Then VS pops up another dialog (after the wait) saying it is evaluating the expression and this takes at least 10 seconds as well. 


This is a simple MVC app and I'm mousing over a string parameter that was passed to the function I had a breakpoint on. Disabling OzCode and restarting VS allows me to debug without any issues.

I agree. OzCode and VS 2019 together is pretty much unusable. Every F10 takes several seconds. 

Answer
Completed

Hi Daniel and Michael,

Thanks for reporting this issue with OzCode, we have found the source of the problem and believe that the latest revision of OzCode v4.0 (get it directly from here) should fix this problem.

New support tickets can always be opened via https://oz-code.com/submit-a-ticket/

Hi Patrick, I'm really sorry to hear about this issue. 

In order to try and figure out what's causing these issues for you, I'd appreciate it if you could please perform the following steps to generate a performance profiler snapshot:

  1. Download dotTrace from https://www.jetbrains.com/profiler/download/
  2. Open dotTrace Performance Profiler
  3. Click "Local" on the top-left corner
  4. Under "Attach to Process", find the relevant "devenv.exe" (which is the Visual Studio process you are currently using)
  5. Choose "Sampling" under "Profiler Options" and click "Run"
  6. Go back to Visual Studio and repeat the action[s] that were performing badly several times.
  7. In the dotTrace pop-up, click "Get Snapshot'n'Wait"
  8. Click File->Export Snapshot, and send us the resulting .DTP file to support@oz-code.com .