Menu

Problem of debugging with FSM

2008-02-14
2013-04-23
  • Carfield Yim

    Carfield Yim - 2008-02-14

    When there is exception, the exception handler only show one line of log, can I show complete stacktrace??

    ConfigStoreManager.load Loading Reference Id: 0 ActiveState:InitialState
    FsmExceptionHandlerImpl.handleException handleException: Reference Id: 0, com.evelopers
    .unimod.parser.InterpreterException: Error while executing o1.isFullyExecuted

     
    • Mattias Ståhlberg

      You could try implementing your own ExceptionHandler and register it using EventProcessor.addExceptionHandler(ExceptionHandler handler). Then you can let the handleException method of your implementation do whatever it want with the exception.

      See http://unimod.sourceforge.net/api/core/com/evelopers/unimod/runtime/ExceptionHandler.html

      //Mattias

       

Log in to post a comment.