Howto debug a shared library with GDB OSX
GDB XXX.app
>run /This/is/the/folder/YYY.ds //TWAIN ds
//Set a breakpoint at line 100 of ZZZ.m
>br /The/Folder/where/the/source/is/ZZZ.m:100
>c //continue
>run /This/is/the/folder/YYY.ds //TWAIN ds
//Set a breakpoint at line 100 of ZZZ.m
>br /The/Folder/where/the/source/is/ZZZ.m:100
>c //continue
留言