Debug: Able to select entry point even if there is no reference from Espace to Entry Point
1116
Views
11
Comments
On our RadarOn our Radar
Debugger

On the scenario that, there is:

- A End User espace A, that consumes a weblock on a UI espace B, 

- The Weblock on espace B consumes a action from CS espace  C

- There is no reference between A and C

On the described scenario currently is no possible to debug on C request from start on A without adding a useless reference between From A to C    

Hi Domingues,


That's indeed very annoying. I ran into that situation a while ago and there's a better workaround. If you publish eSpace A in the Personal Area (F6), then it will be available as a debugging entry point for eSpace C. No need to add a useless between A and C.


Nonetheless, the platform should be smarter in that regards.

Hope it helps.


Cheers!

Changed the category to
Debugger
Changed the status to
On our RadarOn our radar

Hi Domingues,

That is indeed annoying, so we'll be watching this idea, although we do not yet have short-term plans for it.

Thank you for your idea,
Tiago Simões

I can't imagine that you are the first one to run into this issue. Great idea! 

In my view this really is a major oversight. Outsystems promotes the concept of a 4-layer architecture, but if you need to debug a core service you have to artifically add a reference to the UI. Really?

How many layers of dependencies do you want the platform to keep track off? Because of the 4 layer architecture that would mean there could be a maximum of 3 layers of dependencies?

I understand your frustration but also see some practical obstacles in doing all the house keeping to keep track of multiple layers of dependencies for each eSpace. Alternative could be to be able to select any eSpace in the environment....

Having a new option to search for any espace as the entry point would be fine - I don't mind how it's done as long as it is reasonably intuitive and allows you to do it...

Harry Snier: try to be in a huge project with 100+ eSpaces and you will see that this is more frequent than you think. When you are in a large factory the 4 layers have to be somehow splitted into some sub layers.
So i like Neil Said i wouldnt mind a search for the espace i want as a entry point.  

Merged this idea with 'Debugging Across Modules more than 1 level deep.' (created on 16 Feb 2022 10:50:53 by Ronnie Verheij)

In debugging across modules it's currently possible to debug into module B when setting module A as entry module when A uses module B. However this isn't possible when we want to debug module C where A uses B and B uses C. Then it's not possible to set module A as starting point. Although this can be solved by referencing module C in module A this is not right. Because module A only should reference module B actions and not module C actions. So please make it possible to set the entry module also when it's used via intermediate module 

A

B

C

So make it possible to debug module C by setting module A as an entry point.


Changed the category to
Debugger