-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a command line option to enable fakeTimer #270
base: develop
Are you sure you want to change the base?
Add a command line option to enable fakeTimer #270
Conversation
I had another thought: since there is the |
42eb910
to
46caa30
Compare
46caa30
to
c1b0f05
Compare
My Idea of tying automatic enablement of the FakeTimer to the FakeTimeDev poses a problem: the command line switch would need to be turned to a "disable FakeTimer" switch which breaks my use case. In this state this practically makes the FakeTimer unusable on systems where FORTE is not started via command line. Is there currently someone using FakeTime on any platform other than Win32/Posix that we are aware of? |
I'm not sure how the FakeTimeDev is being used. I understand that you need to compile forte with What's your use case? Do you want to also have the |
I want to build one FORTE binary and have it start up as a "normal" FORTE as default - and if needed switch it to FakeTime for doing some testing I have not problem adding a switch for testing, but the default should be the "normal" FORTE |
But do you actually need the |
Having the FakeTimeDevice allows you to set the time during a Debug-Session for a FB via the FB-Debug view in the Debug perspective - this is a really powerful tool |
I see two possible ways of having that:
|
As discussed in #265 this adds a command line option to enable the fakeTimer if the feature is compiled in.