Internal breakpoints have negative IDs, so this hit one of your breakpoints, breakpoint 3.
Do a: (lldb) breakpoint list --full And see which breakpoint it is hitting. On Aug 9, 2011, at 4:56 PM, Filipe Cabecinhas wrote: > Hi, > > It seems I forgot to include the patches in this message, sorry about that. > I'm sending them now, along with a patch to report errors when doing a > "process load". > > I am also not able to do a "process load mylib.dylib", where mylib has this > table (I'm trying to redefine printf): > ➜ tests ±:(master) ! nm -m libmylib.dylib > 00000f60 (__TEXT,__text) external _printf > 00000fa0 (__TEXT,__text) non-external _strlen > (undefined) external _write$UNIX2003 (from libSystem) > (undefined) external dyld_stub_binder (from libSystem) > > I get the error: > error: failed to load '~/src/tests/libmylib.dyld': Execution was interrupted, > reason: breakpoint site 3. > The process has been returned to the state before execution. > > The error is from ClangUserExpression->Evaluate(). I suppose that breakpoint > site is internal (I only have placed one breakpoint site, in main()). How can > I know what is going on? > > Regards, > > Filipe > > On Tue, Aug 2, 2011 at 11:07, Filipe Cabecinhas <[email protected]> > wrote: > Hi, > > Here are two small fixed: > > - Fixed ifdeffed code that only compiles when debugging with the > DEBUG_STACK_FRAMES flag. > - Makes CommandObjectThreadStepWithTypeAndScope.Execute() behave like what > was described in the mailing list: If there is no selected thread, select the > first one (index 0). > > Regards,nbsp; Filipe > > > <fix-ifdeffed-code-stackframelist.patch><get-first-thread-if-no-selected-thread.patch><ProcessLoadError.patch>_______________________________________________ > lldb-dev mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
