Lennart Ochel <lennart.oc...@fh-bielefeld.de> wrote:

> Hej,
> 
> anyway it is +d=<comma-seperated list of flags> instead of
> +debug=<comma-seperated list of flags>.

Yep, that's the problem, all right.

However, the help text for omc says this:

  +d, +debug                 Sets debug flags. Use +help=debug to see available 
                              flags.

which clearly implies that +debug will work as well as +d.

Bill

> 
> Kind Regards,
> Lennart
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: owner-openmodelicainter...@ida.liu.se
> [mailto:owner-openmodelicainter...@ida.liu.se] Im Auftrag von Bill Janssen
> Gesendet: Donnerstag, 8. August 2013 19:29
> An: openmodelicainterest@ida.liu.se
> Cc: jans...@parc.com
> Betreff: +debug flags working?
> 
> When I say,
> 
>   omc +help=debug
> 
> I see this:
> 
>   The debug flag takes a comma-separated list of flags which are used by the
>   compiler for debugging. Flags prefixed with - will be disabled.
> 
> So I try it:
> 
>   omc +debug=solveinitialsystem,dumpinitialsystem rlc_series.mo
> ModelicaServices Modelica
> 
> and get
> 
>   Error: Invalid type of flag debug, expected a string but got a list of
> values.
>   Error: Unknown option debug.
> 
> Or I try this:
> 
>   omc +debug="solveinitialsystem,dumpinitialsystem" rlc_series.mo
> ModelicaServices Modelica
> 
> and get this:
> 
>   Error: Invalid type of flag debug, expected a string but got a list of
> values.
>   Error: Unknown option debug.
> 
> What's the right way to do this?
> 
> Bill
> 
> 
> 
> 

Reply via email to