<div dir="ltr">Hi,<div><br></div><div>I am trying to listen for module/symbol load/unload events and display them in output UI so that debugger users can have a basic clue what is debugger busy doing while launching a big executable linking many shared libraries.</div><div><br></div><div>Questions:</div><div>1. I did not find an API to get current load/unload module during module events. I was expecting some static API like lldb.SBModule(or SBTarget).GetModuleFromEvent(SBEvent), but this does not exists. I tried to treat current PC's module as loading module in module load/unload events. But that does not work too(I think because process is not stopped in module load/unload events). Do I miss something here?<br></div><div><br></div><div>2. Even though "image list" shows I have around 42 modules loaded in process, I only got two module load events. Why is that?</div><div><br></div><div>3. Even though I added lldb.SBTarget.eBroadcastBitSymbolsLoaded, there is no event of type eBroadcastBitSymbolsLoaded generated. Is it expected? Apparently I have the symbols next to the binary. </div><div><br></div><div>This is tested on mac OSX lldb.</div><div><br></div><div>Jeffrey</div></div>