NM

I am going crazy with this.

I have created my own semantic check rule and I'm trying to debug it. To be precise, I want to use step-by-step debugging.

When I first tried it, I got the message that I need to setup a profile in order to debug a semantic check rule. So I created a profile and added this rule to it.

When I open the profile code, I can debug the profile. But not the rule I created!

When I put a break point on the rule, it gets misteriously transferred to the profile, in the same line.

Can anybody help?

Thanks.

by Niki Mrak Author
Posted on Thu, 04/07/2011 - 16:00

Well, just to let everybody know, I haven't found a solution to this issue. Just a workaround in a way that I simply print to the result whichever variables I need to check.

0
by Francisco Javier Hinojosa Nieto
Posted on Fri, 12/14/2012 - 12:46

I'm afraid that it's not possible to debug the code from a semantic check, which is really awful for a programmer.

 

I I hope that it should be fixed in the next versions. 

 

Anyway, if anybody knows how to debug a custom semantic check,  I would be very pleased if this person shares its knowledge

 

 

0
by Francisco Javier Hinojosa Nieto
Posted on Fri, 12/14/2012 - 13:13

Hi

I think I've found a way to debug customs semantic checks, but it's a bit tricky and not very intuitive.

First of all, you have to know your rule's name, yes, that long name like ''Rule_7330c4f0_cb25_11e1_649f_0050569c00ec" or something like that (of course, previously you should have added this rule to your profile throught the visual assistant).

Next, you have to assign the rule to a profile (again, you'll have to use the visual assistant).

Now, you have to search your rule's name (the long name) in the code of the profile and when it will be found,  you can mark the line with a debug point (note that profile's code is not editable)

After this, you can choose your debug points in the code of your custom semantic check.

Finally, you will execute the profile's code (it should triggers an assistant to select an appropiate  context  to launch the code of your semantic check) . At this point, it's expected that the execution of the code should stops in your debug points.

 

I hope it will be helpful for everyone.

Kind regards

 

 

0
by Francisco Javier Hinojosa Nieto
Posted on Fri, 12/14/2012 - 13:17

This part 

 (of course, previously you should have added this rule to your profile throught the visual assistant).

is duplicated. Of course, you only have to do this one time :D.

 

Sorry for the inconvenience.

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock