Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
51 user(s) are online (39 user(s) are browsing Forums)

Members: 0
Guests: 51

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 (2) 3 4 »


Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/11/24 18:52
From Gloucestershire, UK.
Posts: 1099
@Thematic

It does work with odyssey if you spoof as iphone.

_________________
Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@Rigo

Have you read the documentation? I think, it is pretty clear, what it is doing. I have tried modeling it after the interface in a very old version of x-code tools for mac os x. Of course, you have to do a little work to get it right: The program needs to be able to find the source files. There are actually tools in the program, that will take care of this, if the source path is different from where the app is located. Go to the menu, select "Modules..." and see, if it makes any sense to you. Usually you are also prompted to locate the source, if it doesn't find it right away.

It could be cool to get hands on your testapp and see, if I can make sense out of it not working. Also remember, it only understands stabs (read the manual), so if you have, say, dwarf 2 symbols, it is not going to get you very far. Still, if you run the app and it crashes, you should get a stacktrace and minimum functions like disassembler (basically the same as GrimReaper, although you can do asm steps and restart the app and shit).

Let me know if this helps.

   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1788
@Alfkil
Downloaded, will test later as my X1k is busy at something else.

Did you manage to fix the issue where only the first break point ever works? IIRC gdb had that issue too... (though not in the old days on my A1XE).


_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@broadblues

It is fixed .

   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 4161
@alfkil
I do test it on winuae with latest os4, and all seems to works. At least brief tests on helloworld from src/ directory and some breakpoints works, and produce stack trace ! :)

Did you have any plans to extend it futher, or, you ready for suggestions ? You know, i can spam you with suggestions :)


Edited by kas1e on 2016/12/30 18:19:27
_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@kas1e

I would, of course, love to hear your input :). If you want to be a little strategic about it, you could wait until just after 10/1-2017, where I have a few days with nothing in the calendar. ;)

   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@kas1e

On second thoughts: I would love to hear your input asap, so I can think it over thoroughly .

   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 4161
@alkfil
Ok, there you go then:)

1). I do not know if that make much sense, but maybe some tooltype like "MODE=standalone" and "MODE=split_windowses" will be good too, so you will have or everything in one single window (as it now), or, every area will be as window (as it was at begining). So devs can group-regroup it as they wish.

2). Add ability to change data in the Hex Viewer. And there need some advanced way: currently, you can mark only whole lines (address, offset, hex avia and ascii view) at once. Will be good that it you can add there such functionality:

-- if you dbl-click on any hex value, it is change color (to the green for example), and you can edit values right on the address. Without additional windowses, but just right in the same window. Like inline editing.

-- if you dbl-click on any ascii value (that second field), then you can edit it the same way as when you dbl-click on hex values. Without spawning a window with question about what value we want, but , inline editing.

-- add "drag" lines between address , offsets, hex values and ascii values , so developer can resize it all as he wish.

3). "Change symbol value" on the registers do not works (nothing happens), but, there is also have that window with "to what symbol change" are not necessary and one more unnecessary step, instead , inline editing (right when you dbl-click on field) is much better.

4). Basically all the things which we can change, should be inline editing after dbl-click on them. I.e. it highlights somehow, or cursor start to be visibly in them, and so you can delete/skip/write new in. Just usuall inline editing.

5). Assembly window: also will be good to have drag bar for resizing between address, offset and assmebler calls. So user can resize fields as he wish

6). Add in general drag-bars between all windowses (if current mode is only which will be). Because for eample for me, Assembler window is too smal. I want to make it much bigger, on whole screen, to see as much as possible at once. Probably there is that way about "MODE=windowses" , is solution, so everyhting can be resized and regroupped. If that another mode is not in interest , then at least whole main window should have ability to be regroupped, resized in any way user wish.

7). Add some functionality as in dopus5 for example , where you can create a your own window (buttons-bank), in which you can create any button you want, and attach to it any thing you need (arexx, db101 commands, system commands, whatever else). Of course, if you in interest to work on that, i can help with testing a lot.

That all at moment from brief look :)

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1289
@Alfkil

I'm no expert/developer but it's great to see a source code being debugged on AmigaOS.
I tried with the helloworld example but I have to read the guide before trying breakpoints and all... I had a crash so I'll try to reproduce it and report.

_________________
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186


Thanks for the feedback! I will try and find time to look at it .

   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1788
@alfkil

Finally had time to try it out. It's working really well on my X1000.

It missing just one thing that I can think of the abilty to move up a down stack frames and analize varaiables there.

Also the abilty to evaluate expressions would be good.

These are the things I use in GDB (as much as it ever works!)

GUI wise having seperate Step etc buttons for the assembler window confused me at first, I didn't spot the src level ones at the top, might it not make sens3e to put those (Continue Kill Step Over Step Inot Step Out) just under the src area?

Horizontal scroller in the src area might be useful for heavily indented src code sections.

Good job though, can't wait for a crash now



_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@broadblues

Thanks for the report! I will see how much of the incomming suggestions I can manage to implement. Right now there are a few pressing issues with Qt, so this one comes in second. Good suggestions, though! :)

   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2827
@alfkil

Crash when clicking on "variable"

I let db101 work on a crash i get with ScummVM and a game.

Once the program crashed i can click on "variables" (top right) to bring up their underlying list.
The "list" opens blank and right after that db101 crash, reproducable, everytime.

I know this crash from earlier versions, actually i think i was never able to open such lists and see the entries.

Addr2line gives me this additional info, not sure if it helps though:

addr2line --section=.text -C -fe db101 0xEB20

params_populate_list
variables.c:749

There's also ABADCAFE in the registers...

Crash log for task "db101"
Generated by GrimReaper 53.19
Crash occured in module kernel
.debug at address 0x02021C58
Type of crash
DSI (Data Storage Interruptexception
Alert number
0x80000003

Register dump
:
GPR (General Purpose Registers):
   
07F77CB44 4EB297A0 ABADCAFE 02973054 0000003A 4EB297E8 4EB29820 00000048 
   8
00000004 00000001 00000000 44FFD85C 51933999 4EB17C68 00000000 4BD52680 
  16
7F76E208 00000000 00000000 00340014 02B30000 02B30000 18030C7C 00000000 
  24
500F1A92 00000000 39933595 00000000 00000000 02973054 02950000 0000003A 


FPR 
(Floating Point RegistersNaN Not a Number):
   
0:              nan    -6.13331e+307      7.7486e-304    -2.08822e+307 
   4
:    -6.13331e+307      7.7486e-304     -4.4678e+307      2.14748e+09 
   8
:              128       4.5036e+15             1809       4.5036e+15 
  12
:              256       4.5036e+15                0                0 
  16
:                0                0                0                0 
  20
:                0                0                0                0 
  24
:                0                0                0                0 
  28
:                0                0                0                0 

FPSCR 
(Floating Point Status and Control Register): 0x82004000


SPRs 
(Special Purpose Registers):
           
Machine State (msr) : 0x0200B030
                Condition 
(cr) : 0x4B6523EC
      Instruction Pointer 
(ip) : 0x02021C58
       Xtended Exception 
(xer) : 0x4B5D3018
                   Count 
(ctr) : 0x6FF364D0
                     Link 
(lr) : 0x7FB2E920
            DSI Status 
(dsisr) : 0x4B5D2DD0
            Data Address 
(dar) : 0x021E3CC8



680x0 emulated registers
:
DATA00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
ADDR
6FFB8000 9709DA00 00000000 00000000 00000000 00000000 00000000 4EB27FA0 
FPU0
:                0                0                0                0 
FPU4
:                0                0                0                0 



Symbol info
:
Instruction pointer 0x02021C58 belongs to module "kernel.debug" (HUNK/Kickstart)

Stack trace:
    
native kernel module kernel.debug+0x00021c58
    
[variables.c:749db101:params_populate_list()+0x54 (section 1 0xEB20)
    [
variables.c:1063db101:variables_handle_input()+0x104 (section 1 0x103E0)
    [
gui.c:1443db101:main_event_handler()+0x5fc (section 1 0x7338)
    [
gui.c:1011db101:event_loop()+0xa7c (section 1 0x6158)
    [
main.c:25db101:main()+0x7c (section 1 0x260)
    
native kernel module newlib.library.kmod+0x000020a4
    native kernel module newlib
.library.kmod+0x00002d54
    native kernel module newlib
.library.kmod+0x00002ee8
    db101
:_start()+0x170 (section 1 0x16C)
    
native kernel module dos.library.kmod+0x000255c8
    native kernel module kernel
.debug+0x0006e9c0
    native kernel module kernel
.debug+0x0006ea08

PPC disassembly
:
 
02021c502e840000   cmpwi             cr5,r4,0
 02021c54
41d600a8   beq-              cr5,0x2021CFC
*02021c5881240008   lwz               r9,8(r4)
 
02021c5c7e844800   cmpw              cr5,r4,r9
 02021c60
41d6009c   beq-              cr5,0x2021CFC

System information
:

CPU 
 Model
P.ASemi PWRficient PA6T-1682M VB1 
 CPU speed
1800 MHz 
 FSB speed
900 MHz 
 Extensions
altivec 

Machine 
 Machine name
AmigaOne X1000 
 Memory
2097152 KB 
 Extensions
bus.pci bus.pcie

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2008/1/6 17:56
From Pennsylvania, USA
Posts: 1130
@kas1e
Quote:
7). Add some functionality as in dopus5 for example , where you can create a your own window (buttons-bank), in which you can create any button you want, and attach to it any thing you need (arexx, db101 commands, system commands, whatever else). Of course, if you in interest to work on that, i can help with testing a lot.

I use an old program called "ScriptLauncher" from OS4Depot that is a button-bank. The need to edit the prefs file manually probably discourages some people from using it.

_________________
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450

   Report Go to top

Re: Db101 betatesters needed
Just popping in
Joined:
2009/2/8 14:30
From Cologne * Germany
Posts: 106
@alfkil

Quote:

Original by alfkil:

...
if you want to do a testrun of db101 v.1.1.2, then send me a pm or an email.
...



For now I'd be happy if I could get some info somewhere what 'db101' is about...
I read the entire thread, but still am not sure what's it all about.
Before I download to test it, I'd like to know what's it about.

Is it a sort of compliler?

A link leading to a project page with further info would be nice...

A quick Google search for "db101" brought up this (and I don't think your file is somehow related to locomotives):
DB101

_________________
Ciao,
Dandy
-----------------------------------------------------------
If someone enjoys marching to military music, then I already despise him.
He got his brain accidently - the bone marrow in his back would have been sufficient for him!
(...
   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2827
@Dandy

It's a debugger, just like gdb, but ... modern

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@Dandy

'Deutsche Bahn 101'.... Hahaha!

Db101 is a program, that lets you analyse the execution of other executables while they are running... sort of. It lets you set up markers in the code, and when the executable runs into these, it will stop, and you can see the value of variables on the stack and heap. Not very interresting if you are not a coder. :)

   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2827
@alfkil

Did you see my crash a few posts above?

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@Raziel

Hi Raziel,
I have overlooked that, sorry. At the moment, though, I am very much occupied with other things, so it is going to take a little while, before I can look at it. There are probably a zillion such problems with db101, just not many people using it, so they don't surface so often. I mostly just see it crash, whenever I try it out on a new project. So for sure lots of stuff to do still.
Thanks for the report, I'll see, what I can do :).
/A

   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2827
@alfkil

Thank you

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top


« 1 (2) 3 4 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project