Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4452 closed defect (worksforme)

Changed debug flags in show not effect in current OMEdit session

Reported by: Oliver Lenord Owned by: Adeel Asghar
Priority: high Milestone: 1.12.0
Component: OMEdit Version: v1.11.0
Keywords: debug flags, options Cc:

Description

After removing the -dumpDAE flag from the OMEdit Options dialog and re-compiling the model there will still be a dump created in the message window.
After closing and re-launch of OMEdit the flags are applied correctly.

Change History (8)

comment:1 by Adeel Asghar, 7 years ago

How are you using the flag?
Is it --preOptModules=dumpDAE or --postOptModules=dumpDAE.

comment:2 by Oliver Lenord, 7 years ago

I used --preOptModule+=dumpDAE

comment:3 by Adeel Asghar, 7 years ago

Resolution: worksforme
Status: newclosed

I can't reproduce this issue. It might already be fixed in the master. You can try the latest nightly build.

comment:4 by Oliver Lenord, 7 years ago

You're right in v1.12.0 this woks fine with respect to the output in the message window.

Very good!

But, what is still not updating correctly is the omeditoutput.txt file.

comment:5 by Adeel Asghar, 7 years ago

omeditoutput.txt file is not cleared for each simulation.
It's only created once at the startup and then keeps on appending the output.

comment:6 by Oliver Lenord, 7 years ago

But then I'd expect that after each simulation the file is updated such that I can see the recent output after reloading the file. - This is currently not the case.

comment:7 by Adeel Asghar, 7 years ago

I am sorry but this will not be the case even in future. This is a log file for the whole session and we want to preserve the older messages.

comment:8 by Adeel Asghar, 7 years ago

Milestone: Future1.12.0
Note: See TracTickets for help on using tickets.