Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-17 Thread Alexander Bothe
On Tuesday, 14 January 2014 at 15:03:01 UTC, evilrat wrote: stepping through stops on lots of functions down to main(), but no sources and lines. maybe i forgot something. http://mono-d.alexanderbothe.com/big-question-to-you-do-gdblldb-work-for-you-on-osx/ Woohoo, it's not my fault :-D

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread evilrat
On Tuesday, 14 January 2014 at 14:43:26 UTC, Alexander Bothe wrote: On Tuesday, 14 January 2014 at 14:25:31 UTC, evilrat wrote: 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

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread Alexander Bothe
On Tuesday, 14 January 2014 at 14:25:31 UTC, evilrat wrote: 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 :( ) No ne

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread evilrat
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://pastebi

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread evilrat
On Tuesday, 14 January 2014 at 14:12:54 UTC, Alexander Bothe wrote: 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

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread Alexander Bothe
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 opti

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread evilrat
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 gd

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread Alexander Bothe
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.

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread evilrat
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 warnin

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread Alexander Bothe
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-2005

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread evilrat
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 --i

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-14 Thread Jacob Carlborg
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:

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread evilrat
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

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread Alexander Bothe
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.

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread evilrat
On Tuesday, 14 January 2014 at 04:10:03 UTC, evilrat wrote: On Monday, 13 January 2014 at 14:50:05 UTC, Alexander Bothe wrote: So according to Jacob's comment it's actually possible to get gdb on OSX - but probably just with a wrong build configuration, i.e. the mi2 interface for gdb is not ava

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread evilrat
On Monday, 13 January 2014 at 14:50:05 UTC, Alexander Bothe wrote: So according to Jacob's comment it's actually possible to get gdb on OSX - but probably just with a wrong build configuration, i.e. the mi2 interface for gdb is not available - or is it? Just try executing gdb --interpreter=mi2

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread Alexander Bothe
On Monday, 13 January 2014 at 05:25:31 UTC, evilrat wrote: p.s. also, why at first launch it can't just fetch default phobos location for DMD? it's quite annoying adding this paths in settings and it may revolve unaware users from using it(like it was for me about year ago). Okay, implemented

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread Alexander Bothe
On Monday, 13 January 2014 at 11:49:57 UTC, evilrat wrote: On Monday, 13 January 2014 at 11:03:45 UTC, Alexander Bothe wrote: On Monday, 13 January 2014 at 05:25:31 UTC, evilrat wrote: after about half year i tried it again on OS X, and Mono-D is quite good for writing the code, but... the deb

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread Jacob Carlborg
On 2014-01-13 12:03, Alexander Bothe wrote: I've got no OSX but erm, what tool is required to have lldb information generated? ldc2? On the other side, which tool is then required to get gdb debug info? With DMD I get the line numbers in a backtrace, both in gdb and lldb. I compiled with -g.

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread evilrat
On Monday, 13 January 2014 at 11:03:45 UTC, Alexander Bothe wrote: On Monday, 13 January 2014 at 05:25:31 UTC, evilrat wrote: after about half year i tried it again on OS X, and Mono-D is quite good for writing the code, but... the debug!!11 can we haz some GDB or LLDB(or both :)) support plea

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-13 Thread Alexander Bothe
On Monday, 13 January 2014 at 05:25:31 UTC, evilrat wrote: after about half year i tried it again on OS X, and Mono-D is quite good for writing the code, but... the debug!!11 can we haz some GDB or LLDB(or both :)) support please? it shouldn't be that hard porting linux code to OS X. it may al

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-12 Thread Paulo Pinto
On Monday, 13 January 2014 at 05:25:31 UTC, evilrat wrote: On Sunday, 12 January 2014 at 23:40:33 UTC, Alexander Bothe wrote: Hi everyone, Just wrote annotated v1.2.7 of Mono-D: http://mono-d.alexanderbothe.com/completion-ldc2-compatibility-dub-fix-v1-2-7 I'm too lazy to mention every part of

Re: Mono-D v1.2.7 - Completion, ldc2 compatibility, dub fixes

2014-01-12 Thread evilrat
On Sunday, 12 January 2014 at 23:40:33 UTC, Alexander Bothe wrote: Hi everyone, Just wrote annotated v1.2.7 of Mono-D: http://mono-d.alexanderbothe.com/completion-ldc2-compatibility-dub-fix-v1-2-7 I'm too lazy to mention every part of it again over here - if there are questions: Here, in #d.mo