Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

Jameson Ernst jameson at example.com
Thu Jan 9 16:04:40 PST 2014


On Thursday, 9 January 2014 at 23:15:12 UTC, Alexander Bothe 
wrote:
> On Thursday, 9 January 2014 at 22:50:09 UTC, Daniel Kozak wrote:
>> On Thursday, 9 January 2014 at 21:47:40 UTC, Alexander Bothe 
>> wrote:
>>
>>> So btw, could you please define 'does not work'? Is there an 
>>> exception, is there just a silent quit, is there a mysterious 
>>> return value -1 when executing the program with the debugger?
>>
>> http://youtu.be/HRJgyFi6Zes
>
> Have you tried other code samples?
>
> Have you tried stepping through code?
>
> Have you tried examing locals via the 'Locals' pad?
>
> Just try to put in a thing like throw new Exception(); to see 
> whether it's about breakpoints.
>
> Or try to hack in a breakpoint via asm { int 0xcc; } (dunno the 
> x64 equivalent though :-/) or asm { int3; }

Ok, I tried cloning the repo for the debugger plugin and building 
it from source, and it DOES work now. Strange. Something about 
the one in the addin repository must be subtly different. The 
video Daniel posted is exactly what happens when using the one 
from the addin repo. Program execution WILL stop on a breakpoint, 
but the IDE remains unaware of that fact and acts as if the 
program is still executing. Throwing an exception manually DOES 
cause it to stop though, at which point I can examine locals as 
normal. So the problem seems to relate specifically to 
breakpoints.

At any rate, building the plugin from source seems to be the 
ticket. If you want me to test out anything else, I'd be happy 
to, since I think it's important this should work out of box for 
as many people as possible. It is worth noting that I had the 
same symptoms when using mono-d debugging on a Linux Mint 15 
install, so it's nothing specific to Arch.


More information about the Digitalmars-d-announce mailing list