0 Members and 1 Guest are viewing this topic.
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 RAMPlanned:-Code View -An interactive view that will let you navigate the code and do some sweet stuff, like Visual Studio
Well, it would return the currently executing address. Perhaps Quigibo could shed some light on this, but I believe that each command really calls a subroutine in the code, and has a certain length, and I could interpret the code for size until I reached the currently executing line.
Yeah, I'm having second thoughts about finding the current code, but I may make it easier on the programmer to browse their source, like having them scroll by label.
EDIT: A few tweaks and this could be used for a pure ASM debugger...
Yeah, I'm having second thoughts about finding the current code, but I may make it easier on the programmer to browse their source, like having them scroll by label.Deep Thought, if the source code is gone, code view is disabled.