Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Breakpoint::get_FunctionLineOffset() always return 1 for VS2012

$
0
0

When breakpoint is hit, I get the Breakpoint object by calling Debugger::get_BreakpointLastHit(), then I try to get the function line offset from the acquired object by calling Breakpoint::get_FunctionLineOffset(). To my surprise, the result is always 1 even the breakpoint was hit in the middle of a function.  This happens only in Visual Studio 2012. I have verified Breakpoint::get_File() and Breakpoint::get_FunctionName() work fine.

Does anyone has experienced similar problem? Is any workaround for this problem?

Thanks!


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>