I tried to debug a binary compiled by ECX (AmigaE compiler) with debug information enabled. db101 displayed no source code lines. Does it mean a debugger contains code to interpret C code only? I had the impression, using some kind of offset could make it language agnostic.
It didn't work for me either, and I'm running Chrome under Windows 7, so it's not an Amiga thing.
Simon
Comments made in any post are personal opinion, and are in no-way representative of any commercial entity unless specifically stated as such. ---- http://codebench.co.uk
Crash log for task "db101_beta"
Generated by GrimReaper 53.19
Crash occured in module kernel.debug at address 0x02003658
Type of crash: unknown exception
Alert number: 0x0100000F
All I'm getting from that TinyUrl link is a load of shit popups asking me to install Chrome plugins.
EDIT:
Well, there's a first. I tried with Odyssey and the link worked. I think that must be the first time ever an Amiga browser succeeded where a mainstream browser has failed.
I'll test it tommorrow.
Simon
Comments made in any post are personal opinion, and are in no-way representative of any commercial entity unless specifically stated as such. ---- http://codebench.co.uk
Well, there's a first. I tried with Odyssey and the link worked.
Really? It fails every time I try; I just tried again, and no luck. It tells me the file already exists (it doesn't), and I choose Resume. Then it says it failed.
(The page also says you can't download it without signing up - no way ...)
(The page also says you can't download it without signing up - no way ...)
That is an 'advert'. One reason I hate those sites, is the phishing style adverts on them. I really wonder why the days of dropbox, google drive et al why anyone needs to use them?
Just tried to attach db101 to a runing process (AOrgansier) that I'd maged to get inot aloop.
Two issues :
1. The list of processes is uninformative. Too manay "Background CLI" entries with no other info. Address and prgram running in that CLI where possible woud be more than helpful.
2. Guessed the right one based on order of starting prgrams I got a message AllocMem failed followed by a DSI when loading debug data, ignoring the DIS produces a string of AlloMem failed outputs....
I haven't tested the 'attach' mode for a long time. It is possible, that something changed in the os, that needs fixing in db101. I'll try and find time to look at it.
It would be great, if we could replace GDB. I am not sure that I am completely up to date featurewise (you mentioned a few things, that could be interesting to look at), but it would probably create a slightly more inviting atmosphere for the average user.
I have done a small update, where I have enabled clicking the entries in the stacktrace to display the parameters and local stack variables from selected entry.
I am not sure it is optimal. It works, but there are certain things, that bother me. Like the intuition of what is going on. Does the user know, that what he is seeing, is not the actual current function but the one selected in the stacktrace window? What about entries, that do not show correctly when selected this way - like static entries and pointer content? Would it be better to show these infos in a separate window with a clear warning, that what you is seeing is not necessarily, what used to be there? Or is it ok? Does one know that much, if one is reading stackframes from a crashed app?