{"title":"Flexible debugging of behavior models","authors":"A. Krasnogolowy, S. Hildebrandt, S. Watzoldt","doi":"10.1109/ICIT.2012.6209959","DOIUrl":null,"url":null,"abstract":"Model-Driven Engineering shifts the focus from code to models as the primary development artifacts. Therefore, also testing and debugging efforts have to focus on models. Some debuggers for modeling languages already exist but they lack the flexibility to fix errors and verify the correction at runtime. In this paper, we consider how debugging concepts of general-purpose programming languages can be mapped to story diagrams, a behavior modeling language, and what has to be considered in general when implementing debuggers for a modeling language. Then, we present a debugger for story diagrams. In addition to common debugging features, it allows to change the executed model at runtime and to revert the execution to an earlier point, which provides a higher flexibility to the developer. After finding an error in the model, the developer does not need to restart the execution from the beginning, but can go back to a point before the error, fix the error, and continue executing the model.","PeriodicalId":365141,"journal":{"name":"2012 IEEE International Conference on Industrial Technology","volume":"146 12 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-03-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 IEEE International Conference on Industrial Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICIT.2012.6209959","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14
Abstract
Model-Driven Engineering shifts the focus from code to models as the primary development artifacts. Therefore, also testing and debugging efforts have to focus on models. Some debuggers for modeling languages already exist but they lack the flexibility to fix errors and verify the correction at runtime. In this paper, we consider how debugging concepts of general-purpose programming languages can be mapped to story diagrams, a behavior modeling language, and what has to be considered in general when implementing debuggers for a modeling language. Then, we present a debugger for story diagrams. In addition to common debugging features, it allows to change the executed model at runtime and to revert the execution to an earlier point, which provides a higher flexibility to the developer. After finding an error in the model, the developer does not need to restart the execution from the beginning, but can go back to a point before the error, fix the error, and continue executing the model.