Kjell Rilbe
Kjell Rilbe

Reputation: 1509

MDriven ad hoc OclPs -> OCL/EAL?

We have a large system (~170 classes and more than 200 million objects in some classes). It is built with MDriven Framework with ASP.NET in a mix of WebForms and MVC. Also a small WinForms app for some admin tasks.

I often need to run ad hoc OCL queries or EAL scripts, and tend to use the WinForms based MDriven debugger form.

The problem is that I usually can't construct the query using only OclPs or only Ocl, because Ocl would cause millions of objects to be loaded and OclPs doesn't support all OCL constructs, not to mention no EAL support at all.

So, I would need a two-step ability: one step that evaluates an OclPs expression and a second step that evals Ocl or EAL on the results of the first step.

Can this be done with the existing debugger form or with the ASP.NET autoform, or in any other "out-of-the-box" manner?

I know I can build my own form to do it. I was just wondering if I'm missing something...

I would also like to suggest to add this ability in a future version of MDriven Framework, i.e. in either or both of the auto/debugger forms.

Upvotes: 1

Views: 57

Answers (1)

Hans Karlsen
Hans Karlsen

Reputation: 2435

Possibly you can use the new debugger as described here: https://www.capableobjects.com/2017/10/23/updates-to-autoform-and-debugger-after-latest-feedback/

What is better in the new debugger is the ability to hold variables and multiple expressions.

This makes it much easier to rumble around the data and to isolate the thing you are looking for.

Upvotes: 1

Related Questions