[lldb-dev] Creating a breakpoint on a target with no process

Zachary Turner zturner at google.com
Tue Dec 2 12:45:52 PST 2014

In my effort to get tests working on Windows, I've run across an issue
with test\expression_command\timeout\TestCallWithTimeout.py
:: TestCallWithTimeout.ExprCommandWithTimeoutsTestCase

This test creates a target and immediately puts a breakpoint on it before
attempting to launch the process.  Is this something that is supposed to
work?  BreakpointLocation::ResolveBreakpointSite() contains this line:

    Process *process = m_owner.GetTarget().GetProcessSP().get();
    if (process == NULL)
        return false;

So naturally the breakpoint site cannot be resolved because there is no
process.  The end result of this is that this breakpoint never gets hit and
the test fails.

Presumably this test works on other platforms, so any tips as to where I
should look to track down this bug on Windows?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141202/e561e288/attachment.html>

More information about the lldb-dev mailing list