visual studio 2010 - How to see stack just before stack overflow occurs? -


i have stackoverflowexception occurring deep inside linq datacontext upon call submitchanges. after lot of time wasted trying pinpoint overflow occurring, can't seem figure out.

how can see stack looked before stack overflow shown?

you cannot catch stackoverflowexception unless it's thrown user code. (more info)

  • in visual studio, "debug" menu, choose "new breakpoint > break @ function..."
  • in "function" field of "new breakpoint" dialog, enter stackoverflowexception.stackoverflowexception
  • run program in debugger. once stack overflow, debugger stop @ breakpoint.

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -