Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
Axe Debug
« previous
next »
Print
Pages: [
1
]
2
3
Go Down
Author
Topic: Axe Debug (Read 6164 times)
0 Members and 1 Guest are viewing this topic.
SirCmpwn
Guest
Axe Debug
«
on:
September 18, 2010, 06:47:18 pm »
Hello,
I'm working on a debugging library that will make it much easier to debug Axe code. It works as an interrupt, and when you hold down Y= and Graph, it will break (which means that it will stop executing your program and temporarily execute its own code instead, not that it crashes your calc
). You can browse a menu of available options and things to do while you are in the breakpoint. So far, the following is implemented:
-Logging
-You can maintain a log that saves to a program file, and view it from the debugger or from TIOS
-Variable Editing
-While debugging, you can break and view/edit the variables
-Hex Editor
-You can view RAM and ROM, and modify RAM
Planned:
-Code View
-An interactive view that will let you navigate the code and do some sweet stuff, like Visual Studio
Logged
_player1537
Guest
Re: Axe Debug
«
Reply #1 on:
September 18, 2010, 06:48:35 pm »
Sounds cool ^^ Can't wait to try it, although I might not use it regularly
Logged
SirCmpwn
Guest
Re: Axe Debug
«
Reply #2 on:
September 18, 2010, 06:50:12 pm »
Yeah, the whole interrupt thing is a bit of a downer, but I will probably make it so you can manually call all the features without using the interrupt.
Logged
_player1537
Guest
Re: Axe Debug
«
Reply #3 on:
September 18, 2010, 06:51:39 pm »
What specifically will the code view look like?
Logged
SirCmpwn
Guest
Re: Axe Debug
«
Reply #4 on:
September 18, 2010, 06:55:00 pm »
It will basically show the program code, uneditable, and will figure out the currently executing line, take you there, and let you browse the code, check variables, etc.
Logged
matthias1992
LV6
Super Member (Next: 500)
Posts: 408
Rating: +33/-5
Re: Axe Debug
«
Reply #5 on:
September 18, 2010, 06:55:48 pm »
cool project Sir! Altough I hope you don't overwork yourself with all this projects running in parallel, I have the same 'problem'.
Logged
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to document it and extend |
~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-
_player1537
Guest
Re: Axe Debug
«
Reply #6 on:
September 18, 2010, 06:56:25 pm »
:O That sounds awesome! I thought it would just indent the code of a certain program
Can't wait to see your elegent solution to finding where in the code you are
Logged
SirCmpwn
Guest
Re: Axe Debug
«
Reply #7 on:
September 18, 2010, 06:56:32 pm »
Well, its mostly because it would be useful for my current projects
player, code counting.
«
Last Edit: September 18, 2010, 07:00:32 pm by SirCmpwn
»
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Axe Debug
«
Reply #8 on:
September 18, 2010, 07:12:23 pm »
That sounds awesome! So basically you would just include the file at the beginning of your program and it gets debugging capabilities? Sounds awesome
Although how are you going to manage it without Interrupt capabilities?
Logged
SirCmpwn
Guest
Re: Axe Debug
«
Reply #9 on:
September 18, 2010, 07:27:43 pm »
That's right, all you do is include it. Also, without the interrupt turned on, you can always do sub(BP) (BP = Breakpoint) to manually break the code.
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Axe Debug
«
Reply #10 on:
September 18, 2010, 07:35:46 pm »
How on earth are you going to manage to figure out where execution is?
Logged
SirCmpwn
Guest
Re: Axe Debug
«
Reply #11 on:
September 18, 2010, 07:36:18 pm »
Pop hl \ push hl
Logged
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: Axe Debug
«
Reply #12 on:
September 18, 2010, 07:42:24 pm »
Wait, wait, wait....how can you see the file's code after it's compiled? I'm confused! will this compile the code itself?
Logged
SirCmpwn
Guest
Re: Axe Debug
«
Reply #13 on:
September 18, 2010, 07:47:17 pm »
Well, I might have you browse to the source code, or look for a program with .NAME at the header, where NAME is the name of the executing program.
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Axe Debug
«
Reply #14 on:
September 18, 2010, 07:48:42 pm »
Quote from: SirCmpwn on September 18, 2010, 07:36:18 pm
Pop hl \ push hl
Okay, and how does doing that do anything? Like what is the specific mechanism for finding where in the code you are?
Logged
Print
Pages: [
1
]
2
3
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
Axe Debug