oziphantom Posted September 28, 2018 Share Posted September 28, 2018 So I have the code building, and if I end up doing anything serious on this platform, that debugger needs to be fixed.. (or at-least have its command standardized) Is there anything that is really useful to a Lynx that I won't think of that people would like to see? Quote Link to comment Share on other sites More sharing options...
+karri Posted September 28, 2018 Share Posted September 28, 2018 (edited) In cc65 there is code for adding debugger information in the compiled files. You could write a symbolic debugger with proper variable names. Adding the flag --debug-info --add-source you get a lot of info for the symbolic debugger added to the asm file. If you try to improve on debugging it could make sense to parse the symbolic data. main.txt Edited September 28, 2018 by karri Quote Link to comment Share on other sites More sharing options...
enthusi Posted September 28, 2018 Share Posted September 28, 2018 Work on the SDL/Linux version :-) 1 Quote Link to comment Share on other sites More sharing options...
sage Posted September 29, 2018 Share Posted September 29, 2018 I would prefer the gdb interface. Quote Link to comment Share on other sites More sharing options...
oziphantom Posted September 30, 2018 Author Share Posted September 30, 2018 adding label support is a must. Source code level though is the task of an external debugger. Especially as you have 2 levels of source code you want to debug from There are still some formatting issues withe the "dump" command sadly The CHIS view is to die for Yes those arrows "fold" the code. This telnets into the monitor, so I want to get the monitor VICE spec enough that I can use this tool. I have the Win95 version, not sure how different the SDL version is, but if its anything like the VICESDL, barge pole However the core debugger logic will just be c/c++ so shouldn't be too hard to work with, and I hope to basically copy/paste the VICE telnet type system ( although not the parser as that needs yacc/bison so that can get ditched ) so you will be able to put in the system and avoid the gui GDB is not suitable for debugging hardware, it doesn't have the commands you need for ASM debugging either, for ASM you need a monitor. GDB isn't really suitable for debugging C for that matter either Quote Link to comment Share on other sites More sharing options...
42bs Posted October 1, 2018 Share Posted October 1, 2018 So I have the code building, and if I end up doing anything serious on this platform, that debugger needs to be fixed.. (or at-least have its command standardized) Is there anything that is really useful to a Lynx that I won't think of that people would like to see? Check out: https://github.com/specht/champ Features like this are great, though it might be a hard think to get sprite rendering and math timing well included. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.