<div dir="ltr">So if I understand the calling conventions correctly (MacOS X 10.10.2 on Intel Core 2 Duo) the three arguments are in order ($0 = pointer to Blitz class, $1 = QImage &img, $2 = int radius):<div><div><br></div><div><div>(lldb) p $rdi</div><div>(unsigned long) $0 = 4470045704</div><div>(lldb) p $rsi</div><div>(unsigned long) $1 = 4470045672</div><div>(lldb) p $rdx</div><div>(unsigned long) $2 = 3</div></div><div><br></div><div>How do I inspect the member variables of the QImage?</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 22, 2015 at 5:04 PM, Azat Khuzhin <span dir="ltr"><<a href="mailto:a3at.mail@gmail.com" target="_blank">a3at.mail@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Mar 22, 2015 at 04:55:02PM +0100, Mikkel Eriksen wrote:<br>
> I unfortunately do not have source access or debug symbols. Can I use the<br>
> method signature to determine the arguments?<br>
<br>
</span>You could try do it manually, and you could start from [1] (or what ever<br>
your arch is).<br>
<br>
[1] <a href="http://en.wikipedia.org/wiki/X86_calling_conventions" target="_blank">http://en.wikipedia.org/wiki/X86_calling_conventions</a><br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> On Sun, Mar 22, 2015 at 4:49 PM, Azat Khuzhin <<a href="mailto:a3at.mail@gmail.com">a3at.mail@gmail.com</a>> wrote:<br>
><br>
> > On Sun, Mar 22, 2015 at 04:02:18PM +0100, Mikkel Eriksen wrote:<br>
> > > Hi<br>
> > ><br>
> > > I set a breakpoint and launch an application via lldb, and want to<br>
> > inspect<br>
> > > the arguments of the method when the breakpoint triggers, however nothing<br>
> > > shows:<br>
> > ><br>
> > > (lldb) thread backtrace<br>
> > > * thread #20: tid = 0x1352c6, 0x00000001001eb510<br>
> > > Application`Blitz::sharpen(QImage&, int), name = 'VolumeTabSlotFilter',<br>
> ><br>
> > Here you have only types, but not values, seems that you don't have<br>
> > debug symbols, no?<br>
> ><br>
> > > stop reason = breakpoint 2.1<br>
> > > * frame #0: 0x00000001001eb510 Application`Blitz::sharpen(QImage&, int)<br>
> > > frame #1: 0x00000001001dca79 Application`Filter::sharpen(QImage) + 25<br>
> > > frame #2:<br>
> > > 0x000000010007bbd1 Application`VolumeTab::slotFilter_sharpen() + 145<br>
> > > frame #3: 0x0000000102dcb80f QtCore`QMetaObject::activate(QObject*,<br>
> > > int, int, void**) + 2591<br>
> > > frame #4: 0x0000000100080615 Application`VolumeTabSlotFilter::run() +<br>
> > > 309<br>
> > > frame #5: 0x0000000102b963e3 QtCore`QThreadPrivate::start(void*) +<br>
> > 339<br>
> > > frame #6: 0x00007fff8f80f268 libsystem_pthread.dylib`_pthread_body +<br>
> > 131<br>
> > > frame #7: 0x00007fff8f80f1e5 libsystem_pthread.dylib`_pthread_start +<br>
> > > 176<br>
> > > frame #8: 0x00007fff8f80d41d libsystem_pthread.dylib`thread_start +<br>
> > 13<br>
> > > (lldb) frame variable<br>
> > > (lldb)<br>
> > ><br>
> > > What am I doing wrong? I've tried googling for a solution but have not<br>
> > > found anything.<br>
> ><br>
</div></div></blockquote></div><br></div>