SlideShare a Scribd company logo
1 of 19
Download to read offline
11 April 2014
Juha-Pekka Tolvanen
Supporting Debugging and
Profiling on the Model Level
Code is now generated, what next?
1. Autobuild
2. Animating models
3. Debugging on the model level
4. Profiling on the model level
5. Simulator/monitor application
6. Coverage shown in models
7. Models updated/changed
8. + …
1. Autobuild
 Directly from model to execution for all developers, hiding
– libraries
– build scripts
– compiler calls
– simulator calls
– tool chains
– paths settings, moving files etc. other repeated parts
 Parameters for autobuild set separately for tools, paths,
platforms
– often part of the language itself
• Android app demo (generate, build, use simulator & run)
2. Animating
 Highlight model elements during application execution:
demonstration
2. Animating: Design flow
 Animate execution in PC or animate execution in real
target device
– Sample*
 Considerations for animation support:
– What makes sense to animate (vary on languages)
– Distribution
• Is execution and animation running in the same machine
– How often to animate
 Generator for production and generator for animation can
be the same
– Animation in the framework rather than in generator
Safa, L,. The Making Of User-Interface Designer, 7th
DSM Workshop at OOPSLA
3. Debugging
 Obviously all IDE features are available but....
… does it make sense to debug the generated code?
– By others than generator developer?
 Debug instead directly in the model
– Provide functionality (demo)
• Add breakpoint to the language
• Provide framework
• Make generator
– Use the created model debug functionality (demo)
• Set breakpoint
• Run generator
Examples with breakpoints
 Two breakpoints added ( )
4. Profiling
 Update models with the relevant execution information
 Use the original source model or a copy of it: demo
Djukić, V., et al. Model Execution: An Approach based on extending Domain-Specific Modeling with
Action Reports, ComSIS Vol. 10, No. 4, Special Issue, 2013
4. Profiling
 Considerations for profiling support:
– Decide what kind of data/variable values to be shown
– Show data in the original “source” model or in copy of it?
– Show data in modeling tool or in run-time
environment/external simulator?
• In modeling tool:
– Use as derived values or be persistent (store in models)
• In run-time environment/simulator:
– Run-time environment calls modeling tool to update models
– Modeling on ”hot”: run-time asks from modeling tool if
things has changed and runs generators again
5. With generated simulators
 An application showing execution data
Monitoring motor
State of the app
5. With generated simulators
 A separate application showing variables values: demo
Djukić, V., et al. Domain-Specific Modeling Languages for Medical Device Development, embedded.com, 2014
5. With generated simulators
 Monitor (domain-) specific parts: here clamp controls
5. With existing simulators [1/2]
 Translate your model to existing simulation tools (demo)
5. With existing simulators [2/2]
 Translate your model to existing simulation tools (demo)
6. Coverage
 Highlight several elements, paths visited, failure
propagation etc. (demo)
7. Update models
 Update models with persistent data, show results during
execution/analysis directly in model
– Example on simulating performance (demonstration)
Vatjus-Anttila, J., et al. Domain-specific front-end for virtual system modeling, ECFMA Workshop on
Graphical Modeling Language Development, Denmark, 2012
Use generators for others than code
 Example: Hofernet PISCAS use heavily generators
Leitner, A., et al. Effective development of automation systems through domain-specific modeling in a
small enterprise context, Journal Software and Systems Modeling (SoSyM), Volume 13, Issue 1, 2014
After generating code:
1. Autobuild
2. Other than code (single source, multiple targets)
3. Simulator/monitor application
4. Animating models
5. Debugging on the model level
6. Profiling on the model level
7. Models updated/changed
8. Coverage shown in models
Questions, please?
For details of the described examples contact:
jpt@metacase.com

More Related Content

Viewers also liked

Luật cán bộ công chức
Luật cán bộ công chứcLuật cán bộ công chức
Luật cán bộ công chứcluathanhchinh
 
Nghị định số 24/2014/NĐ-CP quy định tổ chức các cơ quan chuyên môn thuộc Ủy b...
Nghị định số 24/2014/NĐ-CP quy định tổ chức các cơ quan chuyên môn thuộc Ủy b...Nghị định số 24/2014/NĐ-CP quy định tổ chức các cơ quan chuyên môn thuộc Ủy b...
Nghị định số 24/2014/NĐ-CP quy định tổ chức các cơ quan chuyên môn thuộc Ủy b...luathanhchinh
 
Quy định việc kiểm tra nhà nước về chất lượng hàng hóa nhập khẩu
Quy định việc kiểm tra nhà nước về chất lượng hàng hóa nhập khẩu Quy định việc kiểm tra nhà nước về chất lượng hàng hóa nhập khẩu
Quy định việc kiểm tra nhà nước về chất lượng hàng hóa nhập khẩu tiendung4u
 
Automotive architecture examples with EAST-ADL models
Automotive architecture examples with EAST-ADL modelsAutomotive architecture examples with EAST-ADL models
Automotive architecture examples with EAST-ADL modelsJuha-Pekka Tolvanen
 
Industrial experiences on Domain-Specific Modeling
Industrial experiences on Domain-Specific ModelingIndustrial experiences on Domain-Specific Modeling
Industrial experiences on Domain-Specific ModelingJuha-Pekka Tolvanen
 
Collaborative modeling and metamodeling in MetaEdit+
Collaborative modeling and metamodeling in MetaEdit+Collaborative modeling and metamodeling in MetaEdit+
Collaborative modeling and metamodeling in MetaEdit+Juha-Pekka Tolvanen
 
Keynote at Code Generation 2014: The business cases of modeling and generators
Keynote at Code Generation 2014: The business cases of modeling and generatorsKeynote at Code Generation 2014: The business cases of modeling and generators
Keynote at Code Generation 2014: The business cases of modeling and generatorsJuha-Pekka Tolvanen
 
Termokimia, sistem dan lingkungan
Termokimia, sistem dan lingkungan Termokimia, sistem dan lingkungan
Termokimia, sistem dan lingkungan Tita Nur Amalah
 
20 examples on Domain-Specific Modeling Languages
20 examples on Domain-Specific Modeling Languages20 examples on Domain-Specific Modeling Languages
20 examples on Domain-Specific Modeling LanguagesJuha-Pekka Tolvanen
 
What on earth am here for purpose driven life [autosaved]
What on earth am here for   purpose driven life [autosaved]What on earth am here for   purpose driven life [autosaved]
What on earth am here for purpose driven life [autosaved]Arturo Tangal
 
Collaborative language engineering and language use: demo with MetaEdit+
Collaborative language engineering and language use: demo with MetaEdit+Collaborative language engineering and language use: demo with MetaEdit+
Collaborative language engineering and language use: demo with MetaEdit+Juha-Pekka Tolvanen
 

Viewers also liked (12)

Luật cán bộ công chức
Luật cán bộ công chứcLuật cán bộ công chức
Luật cán bộ công chức
 
Garage Door Repair Duluth
Garage Door Repair DuluthGarage Door Repair Duluth
Garage Door Repair Duluth
 
Nghị định số 24/2014/NĐ-CP quy định tổ chức các cơ quan chuyên môn thuộc Ủy b...
Nghị định số 24/2014/NĐ-CP quy định tổ chức các cơ quan chuyên môn thuộc Ủy b...Nghị định số 24/2014/NĐ-CP quy định tổ chức các cơ quan chuyên môn thuộc Ủy b...
Nghị định số 24/2014/NĐ-CP quy định tổ chức các cơ quan chuyên môn thuộc Ủy b...
 
Quy định việc kiểm tra nhà nước về chất lượng hàng hóa nhập khẩu
Quy định việc kiểm tra nhà nước về chất lượng hàng hóa nhập khẩu Quy định việc kiểm tra nhà nước về chất lượng hàng hóa nhập khẩu
Quy định việc kiểm tra nhà nước về chất lượng hàng hóa nhập khẩu
 
Automotive architecture examples with EAST-ADL models
Automotive architecture examples with EAST-ADL modelsAutomotive architecture examples with EAST-ADL models
Automotive architecture examples with EAST-ADL models
 
Industrial experiences on Domain-Specific Modeling
Industrial experiences on Domain-Specific ModelingIndustrial experiences on Domain-Specific Modeling
Industrial experiences on Domain-Specific Modeling
 
Collaborative modeling and metamodeling in MetaEdit+
Collaborative modeling and metamodeling in MetaEdit+Collaborative modeling and metamodeling in MetaEdit+
Collaborative modeling and metamodeling in MetaEdit+
 
Keynote at Code Generation 2014: The business cases of modeling and generators
Keynote at Code Generation 2014: The business cases of modeling and generatorsKeynote at Code Generation 2014: The business cases of modeling and generators
Keynote at Code Generation 2014: The business cases of modeling and generators
 
Termokimia, sistem dan lingkungan
Termokimia, sistem dan lingkungan Termokimia, sistem dan lingkungan
Termokimia, sistem dan lingkungan
 
20 examples on Domain-Specific Modeling Languages
20 examples on Domain-Specific Modeling Languages20 examples on Domain-Specific Modeling Languages
20 examples on Domain-Specific Modeling Languages
 
What on earth am here for purpose driven life [autosaved]
What on earth am here for   purpose driven life [autosaved]What on earth am here for   purpose driven life [autosaved]
What on earth am here for purpose driven life [autosaved]
 
Collaborative language engineering and language use: demo with MetaEdit+
Collaborative language engineering and language use: demo with MetaEdit+Collaborative language engineering and language use: demo with MetaEdit+
Collaborative language engineering and language use: demo with MetaEdit+
 

Similar to Model level debugging and profiling, Code Generation Conference 2014

Ui Modeling In Action With PMF, e4(XWT) And EGF
Ui Modeling In Action With PMF, e4(XWT) And EGFUi Modeling In Action With PMF, e4(XWT) And EGF
Ui Modeling In Action With PMF, e4(XWT) And EGFBENOIT_LANGLOIS
 
6 - Architetture Software - Model transformation
6 - Architetture Software - Model transformation6 - Architetture Software - Model transformation
6 - Architetture Software - Model transformationMajong DevJfu
 
Model-based Testing using Microsoft’s Spec Explorer Tool: A Case Study
Model-based Testing using Microsoft’s Spec Explorer Tool: A Case StudyModel-based Testing using Microsoft’s Spec Explorer Tool: A Case Study
Model-based Testing using Microsoft’s Spec Explorer Tool: A Case StudyDharmalingam Ganesan
 
DAE Tools 1.8.0 - Introduction
DAE Tools 1.8.0 - IntroductionDAE Tools 1.8.0 - Introduction
DAE Tools 1.8.0 - IntroductionDragan Nikolić
 
Ovp Introduction Presentation (04 Feb 10)
Ovp Introduction Presentation (04 Feb 10)Ovp Introduction Presentation (04 Feb 10)
Ovp Introduction Presentation (04 Feb 10)simon56
 
FABLES IME - Agent-Based Modeling environment
FABLES IME - Agent-Based Modeling environmentFABLES IME - Agent-Based Modeling environment
FABLES IME - Agent-Based Modeling environmentRichard Oliver Legendi
 
Handalian shelkey mobile-presentation_upa_2010
Handalian shelkey mobile-presentation_upa_2010Handalian shelkey mobile-presentation_upa_2010
Handalian shelkey mobile-presentation_upa_2010Lisa Renery Handalian
 
What the heck is Eclipse Modeling and why should you care !
What the heck is Eclipse Modeling and why should you care !What the heck is Eclipse Modeling and why should you care !
What the heck is Eclipse Modeling and why should you care !Cédric Brun
 
Continuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise StackContinuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise StackDevOps.com
 
Testing SharePoint solutions overview
Testing SharePoint solutions overviewTesting SharePoint solutions overview
Testing SharePoint solutions overviewSpiffy
 
Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Ori Bendet
 
DAE Tools 1.8.0 - Overview
DAE Tools 1.8.0 - OverviewDAE Tools 1.8.0 - Overview
DAE Tools 1.8.0 - OverviewDragan Nikolić
 
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...Deltares
 
Mobile applications and automation testing
Mobile applications and automation testingMobile applications and automation testing
Mobile applications and automation testingIndicThreads
 
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...Arti Parab Academics
 

Similar to Model level debugging and profiling, Code Generation Conference 2014 (20)

Ui Modeling In Action With PMF, e4(XWT) And EGF
Ui Modeling In Action With PMF, e4(XWT) And EGFUi Modeling In Action With PMF, e4(XWT) And EGF
Ui Modeling In Action With PMF, e4(XWT) And EGF
 
6 - Architetture Software - Model transformation
6 - Architetture Software - Model transformation6 - Architetture Software - Model transformation
6 - Architetture Software - Model transformation
 
6
66
6
 
Model-based Testing using Microsoft’s Spec Explorer Tool: A Case Study
Model-based Testing using Microsoft’s Spec Explorer Tool: A Case StudyModel-based Testing using Microsoft’s Spec Explorer Tool: A Case Study
Model-based Testing using Microsoft’s Spec Explorer Tool: A Case Study
 
DAE Tools 1.8.0 - Introduction
DAE Tools 1.8.0 - IntroductionDAE Tools 1.8.0 - Introduction
DAE Tools 1.8.0 - Introduction
 
Ovp Introduction Presentation (04 Feb 10)
Ovp Introduction Presentation (04 Feb 10)Ovp Introduction Presentation (04 Feb 10)
Ovp Introduction Presentation (04 Feb 10)
 
FABLES IME - Agent-Based Modeling environment
FABLES IME - Agent-Based Modeling environmentFABLES IME - Agent-Based Modeling environment
FABLES IME - Agent-Based Modeling environment
 
Climberreport
ClimberreportClimberreport
Climberreport
 
Handalian shelkey mobile-presentation_upa_2010
Handalian shelkey mobile-presentation_upa_2010Handalian shelkey mobile-presentation_upa_2010
Handalian shelkey mobile-presentation_upa_2010
 
What the heck is Eclipse Modeling and why should you care !
What the heck is Eclipse Modeling and why should you care !What the heck is Eclipse Modeling and why should you care !
What the heck is Eclipse Modeling and why should you care !
 
Continuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise StackContinuous Integration to Shift Left Testing Across the Enterprise Stack
Continuous Integration to Shift Left Testing Across the Enterprise Stack
 
Testing SharePoint solutions overview
Testing SharePoint solutions overviewTesting SharePoint solutions overview
Testing SharePoint solutions overview
 
Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...
 
DAE Tools 1.8.0 - Overview
DAE Tools 1.8.0 - OverviewDAE Tools 1.8.0 - Overview
DAE Tools 1.8.0 - Overview
 
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
 
Mobile applications and automation testing
Mobile applications and automation testingMobile applications and automation testing
Mobile applications and automation testing
 
CV_AmalMandal
CV_AmalMandalCV_AmalMandal
CV_AmalMandal
 
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
 
Resume_Sameer Parihar
Resume_Sameer PariharResume_Sameer Parihar
Resume_Sameer Parihar
 
Khushboo_Resume
Khushboo_ResumeKhushboo_Resume
Khushboo_Resume
 

Recently uploaded

PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 

Recently uploaded (20)

PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 

Model level debugging and profiling, Code Generation Conference 2014

  • 1. 11 April 2014 Juha-Pekka Tolvanen Supporting Debugging and Profiling on the Model Level
  • 2. Code is now generated, what next? 1. Autobuild 2. Animating models 3. Debugging on the model level 4. Profiling on the model level 5. Simulator/monitor application 6. Coverage shown in models 7. Models updated/changed 8. + …
  • 3. 1. Autobuild  Directly from model to execution for all developers, hiding – libraries – build scripts – compiler calls – simulator calls – tool chains – paths settings, moving files etc. other repeated parts  Parameters for autobuild set separately for tools, paths, platforms – often part of the language itself • Android app demo (generate, build, use simulator & run)
  • 4. 2. Animating  Highlight model elements during application execution: demonstration
  • 5. 2. Animating: Design flow  Animate execution in PC or animate execution in real target device – Sample*  Considerations for animation support: – What makes sense to animate (vary on languages) – Distribution • Is execution and animation running in the same machine – How often to animate  Generator for production and generator for animation can be the same – Animation in the framework rather than in generator Safa, L,. The Making Of User-Interface Designer, 7th DSM Workshop at OOPSLA
  • 6. 3. Debugging  Obviously all IDE features are available but.... … does it make sense to debug the generated code? – By others than generator developer?  Debug instead directly in the model – Provide functionality (demo) • Add breakpoint to the language • Provide framework • Make generator – Use the created model debug functionality (demo) • Set breakpoint • Run generator
  • 7. Examples with breakpoints  Two breakpoints added ( )
  • 8. 4. Profiling  Update models with the relevant execution information  Use the original source model or a copy of it: demo Djukić, V., et al. Model Execution: An Approach based on extending Domain-Specific Modeling with Action Reports, ComSIS Vol. 10, No. 4, Special Issue, 2013
  • 9. 4. Profiling  Considerations for profiling support: – Decide what kind of data/variable values to be shown – Show data in the original “source” model or in copy of it? – Show data in modeling tool or in run-time environment/external simulator? • In modeling tool: – Use as derived values or be persistent (store in models) • In run-time environment/simulator: – Run-time environment calls modeling tool to update models – Modeling on ”hot”: run-time asks from modeling tool if things has changed and runs generators again
  • 10. 5. With generated simulators  An application showing execution data Monitoring motor State of the app
  • 11. 5. With generated simulators  A separate application showing variables values: demo Djukić, V., et al. Domain-Specific Modeling Languages for Medical Device Development, embedded.com, 2014
  • 12. 5. With generated simulators  Monitor (domain-) specific parts: here clamp controls
  • 13. 5. With existing simulators [1/2]  Translate your model to existing simulation tools (demo)
  • 14. 5. With existing simulators [2/2]  Translate your model to existing simulation tools (demo)
  • 15. 6. Coverage  Highlight several elements, paths visited, failure propagation etc. (demo)
  • 16. 7. Update models  Update models with persistent data, show results during execution/analysis directly in model – Example on simulating performance (demonstration) Vatjus-Anttila, J., et al. Domain-specific front-end for virtual system modeling, ECFMA Workshop on Graphical Modeling Language Development, Denmark, 2012
  • 17. Use generators for others than code  Example: Hofernet PISCAS use heavily generators Leitner, A., et al. Effective development of automation systems through domain-specific modeling in a small enterprise context, Journal Software and Systems Modeling (SoSyM), Volume 13, Issue 1, 2014
  • 18. After generating code: 1. Autobuild 2. Other than code (single source, multiple targets) 3. Simulator/monitor application 4. Animating models 5. Debugging on the model level 6. Profiling on the model level 7. Models updated/changed 8. Coverage shown in models
  • 19. Questions, please? For details of the described examples contact: jpt@metacase.com