Topic
  • 2 replies
  • Latest Post - ‏2013-02-19T10:17:45Z by Mathias Mamsch
kabr
kabr
115 Posts

Pinned topic Stack Size

‏2013-02-19T08:43:44Z |
Hi all,

does anybody know if it is possible to set the stack size not only with a pragma command in a dxl file but somehow centrally?

Thanks

Karl
Updated on 2013-02-19T10:17:45Z at 2013-02-19T10:17:45Z by Mathias Mamsch
  • SystemAdmin
    SystemAdmin
    3180 Posts

    Re: Stack Size

    ‏2013-02-19T09:51:35Z  
    Hi

    The script $DOORSHOME/lib/dxl/startup.dxl allways will be called first.

    Best regards
    Wolfgang
  • Mathias Mamsch
    Mathias Mamsch
    1983 Posts

    Re: Stack Size

    ‏2013-02-19T10:17:45Z  
    Hi

    The script $DOORSHOME/lib/dxl/startup.dxl allways will be called first.

    Best regards
    Wolfgang
    The pragma stackSize is something that is local to the DXL script. Putting that pragma on the startup will only work for the global DXL context. So I guess there is no way to get around putting it to any DXL script. But that should not make a big problem. Normally DXL scripts will use some sort of library, just put the pragma in your default library, and include that from all scripts. Otherwise just put the pragma in the scripts.

    Regards, Mathias


    Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS