<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Just did an experiment, and I found that the breakpoint I set using <font color="#5133ab">SBTarget::BreakpointCreateByLocation</font> does not trigger. <div><br></div><div>First I set the debugger's async to be false, then created a breakpoint specifying its location by:</div><div><br></div><div><font face="Courier New, sans-serif">m_target.<span style="font-size: 12pt;">BreakpointCreateByLocation(target.GetExecutable().GetFilename(), 7);</span></font></div><div><font face="Courier New, sans-serif"><span style="font-size: 12pt;"><br></span></font></div><div>then I launch the program and after getting <font face="Courier New, sans-serif">eStateExited</font> status, the hit count of that breakint is 0!</div><div><br></div><div>Is the way I set the break point wrong? I can create a working breakpoint using <span style="color: rgb(81, 51, 171); font-size: 12pt;">SBTarget::BreakpointCreateByName</span><span style="font-size: 12pt;"> but cannot using </span><span style="font-size: 12pt; color: rgb(81, 51, 171);">SBTarget::BreakpointCreateByLocation</span><span style="font-size: 12pt;">, what's the problem?</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Thanks,</span></div><div><span style="font-size: 12pt;">Song Ziming</span></div> </div></body>
</html>