Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
November 16, 2015 Any D IDE on Mac OSX with debugging support? | ||||
---|---|---|---|---|
| ||||
Hello, Is there any IDE which allows debugging D apps on OSX? I'm trying Mono-D, but getting error "Debugger operation failed A syntax error in expression, near 'sizeof(void*)'" GDB is installed using homebrew. Probably, something is wrong with my gdb. When I'm trying to start debugging using console GDB interface - it fails with message about unsigned application. Is there any instruction how to get GDB working on OSX? Code completion and symbol lookups neither do not work on Mono-D / OSX. Does anyone managed to get it working? Best regards, Vadim |
November 16, 2015 Re: Any D IDE on Mac OSX with debugging support? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin | On 16/11/15 7:45 PM, Vadim Lopatin wrote: > Hello, > > > Is there any IDE which allows debugging D apps on OSX? > I'm trying Mono-D, but getting error > "Debugger operation failed A syntax error in expression, near > 'sizeof(void*)'" > > GDB is installed using homebrew. Probably, something is wrong with my > gdb. When I'm trying to start debugging using console GDB interface - it > fails with message about unsigned application. Is there any instruction > how to get GDB working on OSX? > > Code completion and symbol lookups neither do not work on Mono-D / OSX. > Does anyone managed to get it working? > > > Best regards, > Vadim > On recent versions of OSX, Apple has by default made it so that all applications must be signed by default. You can disable this behavior through system settings and security. I suspect this is what is stopping it. https://answers.uchicago.edu/25481 |
November 16, 2015 Re: Any D IDE on Mac OSX with debugging support? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On 2015-11-16 08:48, Rikki Cattermole wrote: > On recent versions of OSX, Apple has by default made it so that all > applications must be signed by default. You can disable this behavior > through system settings and security. > I suspect this is what is stopping it. Alternatively use LLDB shipped with Xcode. But that won't of course have the D support that GDB has. Although I don't know if that works for OS X. -- /Jacob Carlborg |
November 16, 2015 Re: Any D IDE on Mac OSX with debugging support? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On Monday, 16 November 2015 at 07:48:31 UTC, Rikki Cattermole wrote:
> On 16/11/15 7:45 PM, Vadim Lopatin wrote:
>>[...]
>
> On recent versions of OSX, Apple has by default made it so that all applications must be signed by default. You can disable this behavior through system settings and security.
> I suspect this is what is stopping it.
>
> https://answers.uchicago.edu/25481
Thank you! Let me try that.
|
November 16, 2015 Re: Any D IDE on Mac OSX with debugging support? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On Monday, 16 November 2015 at 07:48:31 UTC, Rikki Cattermole wrote:
> On 16/11/15 7:45 PM, Vadim Lopatin wrote:
>> Hello,
>>
>>
>> Is there any IDE which allows debugging D apps on OSX?
>> I'm trying Mono-D, but getting error
>> "Debugger operation failed A syntax error in expression, near
>> 'sizeof(void*)'"
>>
>> GDB is installed using homebrew. Probably, something is wrong with my
>> gdb. When I'm trying to start debugging using console GDB interface - it
>> fails with message about unsigned application. Is there any instruction
>> how to get GDB working on OSX?
>>
>> Code completion and symbol lookups neither do not work on Mono-D / OSX.
>> Does anyone managed to get it working?
>>
>>
>> Best regards,
>> Vadim
>>
>
> On recent versions of OSX, Apple has by default made it so that all applications must be signed by default. You can disable this behavior through system settings and security.
> I suspect this is what is stopping it.
>
> https://answers.uchicago.edu/25481
Changing of system settings, creation of certificate and signing of GDB executable helped to get gdb debugging working when running from command line.
But debugging from Mono-D still fails with the same error.
|
November 16, 2015 Re: Any D IDE on Mac OSX with debugging support? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Monday, 16 November 2015 at 08:15:36 UTC, Jacob Carlborg wrote:
> On 2015-11-16 08:48, Rikki Cattermole wrote:
>
>> On recent versions of OSX, Apple has by default made it so that all
>> applications must be signed by default. You can disable this behavior
>> through system settings and security.
>> I suspect this is what is stopping it.
>
> Alternatively use LLDB shipped with Xcode. But that won't of course have the D support that GDB has. Although I don't know if that works for OS X.
Mono-D adds -i=mi parameter to debugger command line so it looks like it supports only GDB.
|
November 30, 2015 Re: Any D IDE on Mac OSX with debugging support? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vadim Lopatin | On 16/11/2015 06:45, Vadim Lopatin wrote: > Hello, > > > Is there any IDE which allows debugging D apps on OSX? > I'm trying Mono-D, but getting error > "Debugger operation failed A syntax error in expression, near > 'sizeof(void*)'" > > GDB is installed using homebrew. Probably, something is wrong with my > gdb. When I'm trying to start debugging using console GDB interface - it > fails with message about unsigned application. Is there any instruction > how to get GDB working on OSX? > > Code completion and symbol lookups neither do not work on Mono-D / OSX. > Does anyone managed to get it working? > > > Best regards, > Vadim > Yes, DDT ( http://ddt-ide.github.io/ ) supports debugging on OSX, using GDB, but you have to install it with homebrew. If you have done it already, then it should work, but check this article as well: http://ntraft.com/installing-gdb-on-os-x-mavericks/ -- Bruno Medeiros https://twitter.com/brunodomedeiros |
Copyright © 1999-2021 by the D Language Foundation