Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
70 user(s) are online (33 user(s) are browsing Forums)

Members: 1
Guests: 69

balaton, more...

Support us!

Headlines

Forum Index


Board index » All Posts (elfpipe)




Re: SpotLess debugger
Just can't stay away
Just can't stay away


@kas1e

Quote:
At least will be good to have no garbage in variable, or maybe dunno, somehting like "unimplemented" words ?:) I just fear while there garbage, it mean trashing of memory.


I will take a look at it at some point.

Quote:
First one:

-- run spotless
-- hit rmb, choiise "Swith to public screen".
-- hit iconify gadget. It will iconify to the WB screen
-- swith by any way to workbenh screen (drag the spotless screen down, or hit gadget on spotless screen to back to the wb one)
-- hit on spotless window => crash.

Crash in Widget.cpp:165

I think that crash i have once on exit was related to that public-screen functionality as well. Maybe that just one single issue.


I think, I caught this one. Please test again, when I post the next release.

Quote:
-- when you iconify, the icon on the wb not of spotless, but default one. If i remember right it's about just additional option provide when do iconify.


I am only going to do this, when I have loots of time. I think, we will survive :).

Quote:
-- when we tried to load Spotless binary inside of the Spotless, then progress bar going on fast (but while it happens, mouse is sluggish, 100% cpu loading). Then, everthing just stops/halts, and only after a few seconds (3-4) it refreshes and things show ups in Spotless. Imho if we can't speed things up for now there, will be worth to show progress bar finished only when evertyhing visibly on screen. Or, at least after progress bar finished, shoup a "busy mouse cursor" so we know it not freeze (but at this point, you can't move anything, it just like freeze, strange..).

Then after all loads, i hit the start and spotless didn't starts inside of spotles. Tried few times. When exit from main spotless, intuition seems to be messed up and trashed (so reboot need it).


I can load and run Spotless inside itself just fine. I am not sure, if I changed anything, so if you could retest at the next release?

Quote:
Through i have one suggestion for : rename "configure" item to something like "add additional source directories" or something of that sort, so GUI will be self-explained.


This is a conscious choice. I want to keep the window with that name for enabling more configuration options. I don't want each option in their own window. For now, you can read the caption "Source roots:" in the bevel box title inside the window.

Quote:
Another suggestion for GUI, is to open "memory surfer" a bit bigger. Now it just as small as possible, but imho worth to open it by default so to be as big as it needs to fit whole horizontal information. Or do it like in some of our projects : gadge on bottom right together with iconify, where we can choose snapshot/unspanshot .. But maybe that will for now overcomplicate the things, and maybe just open it a little bit bigger will be fine for now.


This is actually difficult to do. Because I am keeping the ReAction classes as "slim" as possible, there are no real options to save positions and select placement/size. The question is, how much you yearn for this, because it is of course possible, but would add a lot of code with possible clutter and added maintenance.

Quote:
-- when you switch public screen (so to have spotless on it's own screen), and load a some test in it, then it it runs on workbench screen, and not on the Spotless one. I.e. if we have in test case printf("aaaaa\n"); then when we on the spotless screen, this "aaaa" window opens on the workbench screen. While, imho, should be on spotless screen (as this is the default screen now, when we swith to it).


This is also a "minimalist" issue. I simply don't code for anyting, and showing the console window on Workbench is default behavior. In fact I don't know at all how I could possibly move the default console to another public screen! Suggestions??

Go to top


Re: SpotLess debugger
Just can't stay away
Just can't stay away


@kas1e

Quote:
Another issue which i see right now, is that once i set breakpoint, hit start, and switch to variables, then while it works, it give me some garbage of 4 bytes under each entry in myTT: and in dup_prot_seletor doo. I.e. parts with values or addressses (like missing null termination or so).


I really need to tidy up the context writeout. I know about this, but I have been reluctant to take a closer look, because it is really complicated and quite confusing. As long as the application works without crashes, I am tending to think, that it matters less with the variables writeouts. But indeed, I need to take a look on this somewhere along the line.

Quote:
Next issue the same when i hit breakpoint and hit start : swith to stacktrace : none. But this functionality surely works (in the profiler tool author get it correctly for sure).


Forgot to check this. Sorry! It is the first item on my todo list.

In general : I am really happy, that you feel this is the optimal version. I was quite confident, when I uploaded it, and I think sticking to this for a while is definitely the way to go. I want more tests, and I want to confirm, that this version is actually usable. All the previous versions can basically be scrapped, as they all had strange problems and issues. This one should have strong performance and actually have a chance of helping developers.

Go to top


Re: lowlevel.library problem??
Just can't stay away
Just can't stay away


@thread

Is this still relevant?

Go to top


Re: SpotLess debugger
Just can't stay away
Just can't stay away


Here's the latest version :

Spotless v.2.1.0

@kas1e

I am really hoping, that I have solved all of your present inquiries. If not, I will be happy to receive any new and relevant complaints :).

To answer your question : I have not done an AmigaGuide, because I think the user should be able to figure out the gui without guidance. If this proves to be a problem, I will consider doing a guide (just like in the old days) for an upcoming version.

Go to top


Re: SpotLess debugger
Just can't stay away
Just can't stay away


@kas1e

Quote:
1. a bit broken packaging of archive:

-- Directory inside of archive named "Spotless_drawer", dunno for what.
-- It didn't have directory "sobjs" with libstdc++.so anymore, is it expected ?


Fixed.

Quote:
2. bugs:

-- RMB didn't works. I.e. menu spawns, but nothing can be called from, not ABOUT, not Configure, not Switching to public screen, nothing. Once you choose anything, it simple closes and nothing happens.

-- all entries in RMB menu marked with letter "A" the same for everything, like, "A" key for any entry.


Fixed.

Quote:
-- Issue which i report back ago still there and with which we circles around for too long :( To reproduce:


This one is tricky. I am pretty certain, that what is happening is, that one of the variables or entries in the structs are uninitialized. There should be a safety on memory reads detecting, if an address is readable. But apparently it doesn't work. So the unreadable address is being read, which causes a crash. I am trying to consult the dev team for assistance.

Quote:
-- And another issue: seems StepInto now works just the same as Step Over. I.e. i can't step-in into prinfs() for example anymore


As mentioned before : There is no stepinto for assembly functions in the main window, since there would be no code to show in the code box. If you want to step into assembly functions, you will have to do it from the lowlevel assembly debugger window (aka The Memory Surfer).

Quote:
-- After making a breackpoint and hittin "Start" and then click on "Memory Surfer": the Memory Surfer window is just empty.


I will fix this.

Go to top


Re: SpotLess debugger
Just can't stay away
Just can't stay away


New version out : Spotless v.2.0.2.

@kas1e

I have not done much work on it recently. But I have a few changes, that are in my local repository. I will commit them a little later.

EDIT: Actually that was useful input. I did have a repository criss-cross, with multiple instances of the Spotless repo with different improvements to each. I have now deleted unnecessary copies and reduced to one. I am hoping, that all my well formed changes are intact.


Edited by alfkil on 2022/10/27 15:22:42
Edited by alfkil on 2022/10/27 15:23:14
Go to top


Re: SpotLess debugger
Just can't stay away
Just can't stay away


@kas1e

Actually, the problem with choosing cancel in the load requester seems to be not that simple. Apparently, the call to CreateNewProcTags returns a positive value, when just the folder is selected, and there seems to be no method to detect, if the load has actually failed. Could you maybe take a look at this?? This is in the SimpleDebug/Process.cpp file.

EDIT: Nevermind. It has been fixed.

Go to top


Re: NovaBridge released!
Just can't stay away
Just can't stay away


@kas1e

That's fantastic news! We have been needing this.

Go to top


Re: SpotLess debugger
Just can't stay away
Just can't stay away


@rjd324

In principle, you should be able to downgrade to Final Edition CD version and use Spotless on that. But yes, practically it is only supported for latest beta kernel and elf.library.

I will update the readme once I am ready with version 2.0.1.

Go to top


Re: SpotLess debugger
Just can't stay away
Just can't stay away


@kas1e

I am having my Amiga system back in a few days, and I will fix these two things.

Just to be clear : Normal functioning should work. That is, if you choose a file to debug and DON'T click cancel, it should actually load (provided it has been built with -gstabs), and you should be able to do at least a few successful moves around the code using steps. If it doesn't, then there must be something with the system updates.

Go to top


Re: WebKit based browser initiative
Just can't stay away
Just can't stay away


@Antique

I need hugs and cuddles. And maybe a little bit of cash. And people shouting out of sheer joy. But first of all I need to set myself up for the task. That's gonna take a little while.

Go to top


Re: WebKit based browser initiative
Just can't stay away
Just can't stay away


@kas1e

Quote:
Even with 10 years old WebKit (which we use in latest version of Odyssey), it was already about 5 hours to compile whole webkit on fast and modern PC with cross-compiler, and the only times when we use native compiling was when Daniel from onyxsoft helping me with rewritting morphos's parts to amigaos4's analogs. He have only x1000 at this time, and then i created for him manualy makefiles to build only libwebkit-owb.a (which was only amigaos native GUI code), and then giving him those parts from webkit itself like libwtf.a, libjsc.a and libwebcore.a, and he link them together with libwebkit-owb.a he compile on x1000. libwebkit-owb.a was just about 3megabytes of size.


I actually did build webkit with a native compiler back in the days. And on a Sam440 too! It took the whole night, and I would sleep next to the machine to listen for drive noises. ;)

Go to top


Re: WebKit based browser initiative
Just can't stay away
Just can't stay away


Not necessarily relevant to the current thread. But I *did* already do a complete build of chromium for Qt6 with a cross compiler, and it didn't link correctly, and it was a mean bitch to work with. I do believe, it is within the realm of the theoretically possible getting it to work, but it is not very much fun doing the work, and I might decline doing anything further with it, unless there is some really serious motivation involved.

I think this thread is interesting with a more sensible goal orientation. I did do the Qt4 webkit module on a similar code base, so maybe I would have some knowledge to chip in. Hoping to see it developing further.

Go to top


Re: Is QT 4 or 5 still alive somehow?
Just can't stay away
Just can't stay away


@SinanSam460

I have left a comment for you in the issues pane in the Qt6 repository.

Go to top


Re: Is QT 4 or 5 still alive somehow?
Just can't stay away
Just can't stay away


@kas1e

Thanks! That is good to know. Just have to get my AmiSphere account up and running, I guess.

Go to top


Re: Is QT 4 or 5 still alive somehow?
Just can't stay away
Just can't stay away


@SinanSam460

I have not given up hope completely. The current work on Qt6 got stalled because of a bug in elf.library. I am trying to find out, if this has been fixed already.

I am also in a moving situation, so it will be another month, before I can resume work.

Go to top


Re: SpotLess tests need it to find out one bug
Just can't stay away
Just can't stay away


@rjd324

Ok, cool. That was all I needed to know.

Apparently the software (Spotless) works on some setups pretty much perfectly (your X1000 setup and my X5000 setup). Now, there are a lot of different versions of system components out there, so the short version of the story is, that we have working performance on some combination of system components and faulty performance on others.

The long version would be a lengthy explanation of why the different combinations work or not. This story is of course hard to write, especially when I as the only active developer only have access to an already functioning setup. In your case I can only comment, that Spotless was known to not function properly on public update 2. Whether or not the functioning on your X5000 setup would be fixed by updating to available beta software in the kernel and other places would only be found out by actually updating.

Go to top


Re: SpotLess tests need it to find out one bug
Just can't stay away
Just can't stay away


@rjd324

Yes. That's exactly what I am referring to.

Go to top


Re: SpotLess tests need it to find out one bug
Just can't stay away
Just can't stay away


@rjd324

Are you running pulic update 2? If so, then that is the reason.

Go to top


Re: I get by with a little help from my friends (Odyssey)
Just can't stay away
Just can't stay away


@alfkil

If I unpack Odyssey to a folder to RAM: and run here twice (one for indexing, one for testing), the problem is solved. Now I can copy the folder to the work: drive, and the problem - voila!

Go to top



TopTop
« 1 ... 8 9 10 (11) 12 13 14 ... 79 »



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
8 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project