Opened 12 years ago

Closed 11 years ago

#2065 closed discussion (fixed)

c-runtime: side-effects using -lv

Reported by: lochel Owned by: lochel
Priority: high Milestone: 1.9.0
Component: Run-time Version: trunk
Keywords: c-runtime Cc: vitalij, adeas31, wbraun

Description

We should get rid of side-effects while using –lv flags. For example the simulation gets stopped after the first step if the flag LOG_JAC_END is used.

"LOG_ENDJAC         [outputs the jacobian and exits the simulation]"

That is ugly and more a developer-flag than a user-flag.

That can be handled much smarter in two ways:

  1. We can use DEBUG_STREAM to determine if we are in debug (call it better developer) mode or user-mode.
  2. We can introduce a general debug-flag if needed. That can get several debug-options, similar to –lv. That would be a much more clear way to provide such functionality. I can provide such functionality if needed.

I am not sure if there are more side-effects.

Change History (2)

comment:1 Changed 12 years ago by wbraun

Yes, you are right, and the flag was only there for development propose. I've removed it.

IMHO your first proposal should be a suitable solution.

comment:2 Changed 11 years ago by lochel

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.