Hi all
I'm the fbdebugger's dev. Currently I'm adapting the debugger to O2. Thanks to Charles for the information he sent me.
http://users.freebasic-portal.de/sarg/02debugger.zipQuick start
- For direct use : oxygen.dll and o2debugger.exe (for now 32bit but 64bit should work when compiling under 64bit).
- Or compile the dll as usually with the provided files (modified version B0 2018/03/29)
compile o2debugger : fbc - console 02debugger.bas with button directory and rc.file in same directory.
- Compile 02bas files with the new dll, just adding a line at the top of main file, as in the example ''debug<path/name>.o2bas##
You get an <name>_dbg.exe just to distinguish it from the nodebug one.
- Execute o2debugger and select the exe with the "directory" button or drag and drop on the left window
Refer to the help file and complementary text file for more information. It is about fbdebugger but most of the features are identical.
Feel free to ask (o2 forum or debug@aliceadsl.fr) for help and above all report every issue you could encounter, with a (small) example.
NB
- No change is done in the executable part only add of debugging data hence the exe size is obviously greater
- It's a beta version so some features are missing (WIP message) and there is a bit of work to get a polished version.
Besides I do not know all the syntaxes of O2 well....
- The RTL32/64 includes are skipped. Is it a good thing to do the same with the other includes ?
- I keep Freebasic language because easier for me and reuse max of code.
- I hope Charles will better integrate my modifications in the original code :-)