January 14, 2014
On Tuesday, 14 January 2014 at 04:15:50 UTC, evilrat wrote:
> "ApplicationName='gdb', CommandLine=-quiet -fullname -i=mi2', CurrentDirectory=", NativeError= Cannot find the specified file

Okay, I think I'm gonna make a separate option panel then for setting up the path to gdb.
January 14, 2014
On Tuesday, 14 January 2014 at 05:04:42 UTC, Alexander Bothe wrote:
> On Tuesday, 14 January 2014 at 04:15:50 UTC, evilrat wrote:
>> "ApplicationName='gdb', CommandLine=-quiet -fullname -i=mi2', CurrentDirectory=", NativeError= Cannot find the specified file
>
> Okay, I think I'm gonna make a separate option panel then for setting up the path to gdb.

ok, thanks.
January 14, 2014
On 2014-01-14 05:10, evilrat wrote:

> running "gdb --interpreter=mi2" launches it without any warnings and
> errors.
>
> (my gdb version is 7.6)

I have GNU gdb 6.3.50-20050815 (Apple version gdb-1824). And when I launch it with --interpreter=mi2 I get some extra symbols in the output, like this:

~"GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)\n"

-- 
/Jacob Carlborg
January 14, 2014
On Tuesday, 14 January 2014 at 08:07:57 UTC, Jacob Carlborg wrote:
> On 2014-01-14 05:10, evilrat wrote:
>
>> running "gdb --interpreter=mi2" launches it without any warnings and
>> errors.
>>
>> (my gdb version is 7.6)
>
> I have GNU gdb 6.3.50-20050815 (Apple version gdb-1824). And when I launch it with --interpreter=mi2 I get some extra symbols in the output, like this:
>
> ~"GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)\n"

i have that too, plus additional info and license info
January 14, 2014
On Tuesday, 14 January 2014 at 08:50:09 UTC, evilrat wrote:
> On Tuesday, 14 January 2014 at 08:07:57 UTC, Jacob Carlborg wrote:
>> On 2014-01-14 05:10, evilrat wrote:
>>
>>> running "gdb --interpreter=mi2" launches it without any warnings and
>>> errors.
>>>
>>> (my gdb version is 7.6)
>>
>> I have GNU gdb 6.3.50-20050815 (Apple version gdb-1824). And when I launch it with --interpreter=mi2 I get some extra symbols in the output, like this:
>>
>> ~"GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)\n"
>
> i have that too, plus additional info and license info

k, released an update. Please tell me whether it works or if another exception is getting thrown!
January 14, 2014
On Tuesday, 14 January 2014 at 12:06:36 UTC, Alexander Bothe wrote:
> On Tuesday, 14 January 2014 at 08:50:09 UTC, evilrat wrote:
>> On Tuesday, 14 January 2014 at 08:07:57 UTC, Jacob Carlborg wrote:
>>> On 2014-01-14 05:10, evilrat wrote:
>>>
>>>> running "gdb --interpreter=mi2" launches it without any warnings and
>>>> errors.
>>>>
>>>> (my gdb version is 7.6)
>>>
>>> I have GNU gdb 6.3.50-20050815 (Apple version gdb-1824). And when I launch it with --interpreter=mi2 I get some extra symbols in the output, like this:
>>>
>>> ~"GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)\n"
>>
>> i have that too, plus additional info and license info
>
> k, released an update. Please tell me whether it works or if another exception is getting thrown!

gdb plugin version 0.2.5 still gives the same error.
January 14, 2014
On Tuesday, 14 January 2014 at 13:06:05 UTC, evilrat wrote:
> gdb plugin version 0.2.5 still gives the same error.

Ah, sorry, I should've mentioned it:
There's an option panel called "Gdb.D" now where you can put in a custom gdb command.
January 14, 2014
On Tuesday, 14 January 2014 at 13:16:12 UTC, Alexander Bothe wrote:
> On Tuesday, 14 January 2014 at 13:06:05 UTC, evilrat wrote:
>> gdb plugin version 0.2.5 still gives the same error.
>
> Ah, sorry, I should've mentioned it:
> There's an option panel called "Gdb.D" now where you can put in a custom gdb command.

it now starts, but in terminal started by xamarin studio it prints:
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
Hello World!
---
in output panel:
"Couldn't inject exception handler breakpoint - no finddata symbol found!"

and after clicking step through it adds:
Single stepping until exit from function _Dmain,\nwhich has no line number information.

i have tried compiling with both -g and -gc

any suggestions?
January 14, 2014
On Tuesday, 14 January 2014 at 13:55:10 UTC, evilrat wrote:
> On Tuesday, 14 January 2014 at 13:16:12 UTC, Alexander Bothe wrote:
>> On Tuesday, 14 January 2014 at 13:06:05 UTC, evilrat wrote:
>>> gdb plugin version 0.2.5 still gives the same error.
>>
>> Ah, sorry, I should've mentioned it:
>> There's an option panel called "Gdb.D" now where you can put in a custom gdb command.
>
> it now starts, but in terminal started by xamarin studio it prints:
> &"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"

Known issue, is probably unfixable.

> Hello World!
> ---
> in output panel:
> "Couldn't inject exception handler breakpoint - no finddata symbol found!"

Could you locate the binary libphobos file, open it e.g. with SciTE and look for some mangled string that contains 'finddata', such as
_D2rt15deh_win64_posix13__eh_finddataFPvZPyS2rt15deh_win64_posix9FuncTable

- something like this is required to have proper exception hooking :)

>
> and after clicking step through it adds:
> Single stepping until exit from function _Dmain,\nwhich has no line number information.

Okay, this means dmd won't generate file/offset associations and/or thus can't be loaded in gdb.

If you tried running your D programw with gdb, made a breakpoint at _Dmain and stepped through the method's code - could you tell me whether it's actually possible to step through the lines? Or is it just telling the same? If so, we can forget about having the gdb addin on OSX as the most essential parts of debugging aren't supported (again, just as on Windows) due to mysterious reasons..
January 14, 2014
On Tuesday, 14 January 2014 at 14:12:54 UTC, Alexander Bothe wrote:
> If you tried running your D programw with gdb, made a breakpoint at _Dmain and stepped through the method's code ...

gdb test run (idk why i run with mi2 :( )
http://pastebin.com/U7UTNfxM

lldb just to compare =0
http://pastebin.com/AxLUTuwy