Ddbg 0.0.4 alpha release

Jascha Wetzel "[firstname]" at mainia.de
Thu Mar 8 02:26:48 PST 2007


oh - it's /CODEVIEW for link, of course, not -g

Jascha Wetzel wrote:
> there are a few commands that will not work before the debuggee is
> running (like dr and ds) - will fix that in the next release.
> 
> the symbolic-info-missing error shouldn't show up like an unhandled
> exception, will fix that too.
> the problem here is, that the link command is missing the -g switch. the
> linker won't copy debug symbols from the object files to the exe in that
> case.
> 
> thanks for the reports!
> 
> Sean Kelly wrote:
>> Jascha Wetzel wrote:
>>> Ddbg is a Win32 D Debugger
>>>
>>> http://ddbg.mainia.de/releases.html
>>>
>>> This release mainly adds support for type cast and associative arrays.
>>> Type casts can be used to workaround the missing array and enum support
>>> in DMD's debug symbols.
>> A few things so far.  The final example may actually be a problem with
>> rebuild, but I thought I'd include it anyway.
>>
>> ======================================================================
>>
>> C:\code\src\d\test>ddbg test.exe
>> Ddbg v0.0.4.3 alpha - D Debugger
>> Copyright (c) 2007 Jascha Wetzel
>> http://ddbg.mainia.de/
>>
>> ->dr
>>
>>
>> ----------------------------------------
>> Unhandled exception in Ddbg v0.0.4.3 alpha:
>> Access Violation
>>
>> Please report this problem!
>> See the http://ddbg.mainia.de/releases.html for details.
>> Thank you!
>>
>> C:\code\src\d\test>
>> C:\code\src\d\test>
>> C:\code\src\d\test>
>> C:\code\src\d\test>ddbg test.exe
>> Ddbg v0.0.4.3 alpha - D Debugger
>> Copyright (c) 2007 Jascha Wetzel
>> http://ddbg.mainia.de/
>>
>> ->ds
>>
>>
>> ----------------------------------------
>> Unhandled exception in Ddbg v0.0.4.3 alpha:
>> Access Violation
>>
>> Please report this problem!
>> See the http://ddbg.mainia.de/releases.html for details.
>> Thank you!
>>
>> ======================================================================
>>
>>
>> C:\code\src\d\test>cat test.d
>> import tango.util.collection.LinkSeq;
>> import tango.stdc.stdio;
>>
>> LinkSeq!(C) cont;
>>
>> static this()
>> {
>>     cont = new LinkSeq!(C);
>> }
>>
>> class C
>> {
>>     int x;
>> }
>>
>> void main()
>> {
>>     printf( "hello\n" );
>> }
>>
>> C:\code\src\d\test>rebuild -g test
>> c:\bin\dmd\bin\..\..\dm\bin\link.exe
>> .\test+.\tango-util-collection-LinkSeq+.\ta
>> ngo-util-collection-model-Iterator+.\tango-util-collection-model-Sortable+.\tang
>>
>> o-util-collection-model-Dispenser+.\tango-util-collection-model-View+.\tango-uti
>>
>> l-collection-model-GuardIterator+.\tango-util-collection-model-Comparator+.\tang
>>
>> o-util-collection-impl-LLCell+.\tango-util-collection-impl-Cell+.\tango-util-col
>>
>> lection-impl-SeqCollection+.\tango-util-collection-model-Seq+.\tango-util-collec
>>
>> tion-model-SeqView+.\tango-util-collection-impl-Collection+.\tango-io-protocol-m
>>
>> odel-IReader+.\tango-io-model-IBuffer+.\tango-io-model-IConduit+.\tango-io-proto
>>
>> col-model-IProtocol+.\tango-io-protocol-model-IWriter+.\tango-util-collection-im
>>
>> pl-AbstractIterator+.\tango-stdc-stdio+.\tango-stdc-stdarg+.\tango-stdc-stddef+.
>>
>> \tango-stdc-config,test.exe,,user32+kernel32/noi;
>>
>> C:\code\src\d\test>ddbg test.exe
>> Ddbg v0.0.4.3 alpha - D Debugger
>> Copyright (c) 2007 Jascha Wetzel
>> http://ddbg.mainia.de/
>>
>>
>>
>> ----------------------------------------
>> Unhandled exception in Ddbg v0.0.4.3 alpha:
>> No symbolic debug info present (no debugging symbols found), try
>> compiling and l
>> inking with -g
>>
>> Please report this problem!
>> See the http://ddbg.mainia.de/releases.html for details.
>> Thank you!
>>
>> C:\code\src\d\test>



More information about the Digitalmars-d-announce mailing list