Skip to content

New commandline -detacheverything #101

@mteufel

Description

@mteufel

Hi, maybe this is something you may consider to include in the next release. My use case: I am developing a crt and I am using Retro Debugger to test and debug it. For this I have a script, that is passing my new built cartridge to a running instance of RetroDebugger. I am doing it like this, right after the build of the crt:

$RETRO_DEBUGGER_HOME/retrodebugger -pass -debuginfo $MY_HOME/build/my.dbg -crt $MY_HOME/build/my.crt

The problem is that is useful for me (to get the RetroDebugger into a new clear state) do execute File / Detach Everything from the menu everytime before I rebuild my crt and pass it to the instance.

To automatize my build process I added a commandline parameter -detacheverything to RetroDebugger so that I can do everything in my build script like this now:

$RETRO_DEBUGGER_HOME/retrodebugger -pass -detacheverything
sleep 4
$RETRO_DEBUGGER_HOME/retrodebugger -pass -debuginfo $MY_HOME/build/my.dbg -crt $MY_HOME/build/my.crt

I implemented it, for sure dirty and in a way that may be not the way you would possibly do it ( I am no C programmer at all), into the files C64CommandLine.h and C64CommandLine.cpp (Files attached). Anyway for me this "hack" works. Maybe this is something you want to take over or think about it. If this is crap, just close this issue :-)

Greetings

Marc "Seytan" Teufel / APS

C64CommandLine.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions