All times are UTC-06:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Wed Oct 24, 2007 9:33 am 
Offline

Joined: Tue Nov 14, 2006 3:22 am
Posts: 37
hi there,

isn't there a debugger for MorphOS executables? i'd really need one. i'd be satisfied with a simple monam like debugger with shell usage...

bye, MarK.


Top
   
PostPosted: Wed Oct 24, 2007 10:48 pm 
Offline

Joined: Tue Nov 23, 2004 8:49 am
Posts: 21
Quote:
hi there,

isn't there a debugger for MorphOS executables? i'd really need one. i'd be satisfied with a simple monam like debugger with shell usage...

bye, MarK.
There's no any and seems that there'll be none ever. 8(
Use MorphOS internal debugging features.


Top
   
 Post subject:
PostPosted: Thu Oct 25, 2007 5:28 am 
Offline

Joined: Tue Nov 14, 2006 3:22 am
Posts: 37
You mean it't not possible, or no one written it yet?

bye, MarK.


Top
   
 Post subject:
PostPosted: Thu Oct 25, 2007 7:03 am 
Offline

Joined: Tue Nov 23, 2004 8:49 am
Posts: 21
Quote:
You mean it't not possible, or no one written it yet?

bye, MarK.
I have no idea is it possible or not, but no one had written it yet. Also I think that no one will. 8(


Top
   
 Post subject:
PostPosted: Thu Oct 25, 2007 7:25 am 
Offline

Joined: Tue Nov 02, 2004 2:11 am
Posts: 161
Quote:
Quote:
You mean it't not possible, or no one written it yet?

bye, MarK.
Marcin has a debug library which could be of help.
I was once told that the MOS team has an port of gdb.

Gunnar


Top
   
 Post subject:
PostPosted: Thu Oct 25, 2007 7:30 am 
Offline

Joined: Tue Nov 14, 2006 3:22 am
Posts: 37
hmmm, have to try to find it out... i'd be able to write it, if there would be a tracing routine... i know, assembler isn't so much used nowadays... but i really need this. i have already made working a 68k debugger with 68k tracing routine :)

bye, MarK.


Top
   
 Post subject:
PostPosted: Fri Oct 26, 2007 6:02 am 
Offline

Joined: Mon Jan 30, 2006 7:24 am
Posts: 43
Location: Budapest, Hungary
AFAIR, for binaries with proper debug info, latest LogTool is able to act some kind of simple "debugger", i.e. convert crash addresses to crash positions (line) in the source code. I wonder if it's useable for other languages than C tho'. I had no time to try it with FPC programs yet, but in theory, it should be doable.


Top
   
 Post subject:
PostPosted: Mon Apr 28, 2008 9:03 am 
Offline

Joined: Sun Mar 23, 2008 2:39 pm
Posts: 4
Location: Sweden
Quote:
AFAIR, for binaries with proper debug info, latest LogTool is able to act some kind of simple "debugger", i.e. convert crash addresses to crash positions (line) in the source code. I wonder if it's useable for other languages than C tho'. I had no time to try it with FPC programs yet, but in theory, it should be doable.
One could also use "CatchHit"
from ECX (E compiler) distribution. It intercepts the "trap message" sent when a hit occurs and adds its own information to it. Useful with Sashimi and ramdebug. For GCC/VBCC compiled programs you only get disassembly around hit, stack trace, and symbol information. For ECX compiled programs you also get line,source information and variable dump! (If compiled with that information)

Note: CatchHit has wrong name in current archive (Catchit).


Top
   
 Post subject: a debugger
PostPosted: Wed Apr 04, 2012 11:44 pm 
Offline

Joined: Tue Nov 14, 2006 3:22 am
Posts: 37
Hi, I have developed a simple debugger for my PowerD language, that works in MorphOS. First, it's an editor to write Your source code, and if You wanna debug it, You just press a key combination, the source compiles with special debug option, which elongates the executable and slows it down, because a special call is added after every line code, this call communicates with the editor, which jumps to actual source code line, and the call then waits for editor's command, right now it works with commands "next" and "run". It doesn't debug a lot right now, but if there is an illegal hit, or a crash, You can find out where exactly this happens... hope sooner or later this will become much more usable.

bye, MarK.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group