[lldb-dev] lldb-sphinx-docs builder is failing

2021-05-10 Thread Tom Stellard via lldb-dev

Hi,

The lldb-sphinx-docs builder has been failing for a while: 
https://lab.llvm.org/buildbot/#/builders/80

I think the problem is that python is not installed on the worker, which causes 
the
docs-lldb-html target to not be created.

-Tom

___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 50269] [Python API] Process state "unloaded" even after successfully connecting to debugserver.

2021-05-10 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=50269

Nisarg Jhaveri  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Nisarg Jhaveri  ---
#1 worked. If I handle the events just after running `process connect ...` and
before `process launch`, it successfully updates the process state to connected
and launches correctly.

#2 still didn't work. Even with `debugger.SetAsync(False)`, it was showing the
same behaviour.

I remember looking at SBDebugger.HandleCommand source code and looks like it is
the one that handles events when async mode is off. So, I tried the following
and it worked.

>debugger.SetAsync(False);
>for command in commands: debugger.HandleCommand(command)
>debugger.SetAsync(True);

Looks like there is some difference in behaviour between
`SBDebugger.HandleCommand` and `SBCommandInterpreter.HandleCommand`.

Though, thanks a lot for pointing out that we need to consume the events for it
to work. This solves my issue for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev