What is Cassini's (aka VS Dev Server) stack limit?

回眸只為那壹抹淺笑 提交于 2019-12-11 00:12:27

问题


I'm running into a StackOverflowException (please don't ask, it's not my fault) in IIS6/2k3 which has a limit of 256k, but the exception doesn't happen in the VS debugger.

As a matter of understanding I'd love to know, but have failed to google what the stack limit of Cassini is...if indeed it has one?


回答1:


Have you tried stack-overflowing Cassini on purpose to see at what point it crashes? I'd imagine the stack is immense, though I would expect Cassini to replicate IIS as closely as possible. It's surprising that something that runs in VS wouldn't run in IIS, and I'd even consider filing a VS bug with Microsoft, since it seems that the whole point of Cassini is to replicate the functionality of IIS and provide an ideal debugging environment, since any web projects you write in VS will inherently be deployed against IIS.

I'm not sure if this forum thread was posted by you, or if you've seen it, but he seems to have the exact same problem, in case you're still experiencing it.



来源:https://stackoverflow.com/questions/305830/what-is-cassinis-aka-vs-dev-server-stack-limit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!