Starcounter / Home

Starcounter is an in-memory database application engine.
https://starcounter.io
27 stars 1 forks source link

Visual studio error "Evaluating the function timed out". #108

Closed PatrykSzwer closed 7 years ago

PatrykSzwer commented 7 years ago

When I'm trying to look up under Data variable in my json.cs file (e.g. SystemUserAuthenticationSettings.json.cs) I'm getting error:

image

after clicking OK and trying to stop debugger I'm getting: image and then all my starcounter applications (not only the one that I was debugging) are shut down. This issue might have connection with that I updated my starcounter lately to newest version (2.3.1.6413), but I'm not sure about it. It can also be related with that, It doesn't work on apps that are connected to others and invoked by them.

Do You know this issue, or have some advice what can I do to fix this? OS: Windows 10 SC version: 2.3.1.6413. Visual studio 2017

miyconst commented 7 years ago

This is a serious issue.

I suspect this is happening because debugger pauses the thread while in a transaction, and VS Debugger Watch window is trying to read the locked values while Starcounter waits for the main thread be released.

@alemoi, @per-samuelsson, @linkdata, @bigwad anything you can say?

bigwad commented 7 years ago

Probably duplicate of - Visual Studio gets stuck while debugging sccode.exe.

miyconst commented 7 years ago

Not probably, but for sure. @bigwad thanks for linking. I close this issue as duplicate.