Better debugging for extensions
1155
Views
11
Comments
On our RadarOn our Radar
Data & Integrations
Right now, debugging the code extensions seems to be impossible, unless I am missing something. This really needs to be improved somehow.

J.Ja

If you have the platform installed on your computer you can attach the Visual Studio debugger to the IIS process.
Good to know that! All the same, that needs to be improved so it is a smoother workflow. I've been using AP for a while now, and that was quite non-obvious to me.

J.Ja
Yes, it's not obvious and maybe not easily discoverable through the documentation.

And if you're working in more than one platform version at the same time, it's not reasonable to expect that you have different platform installations in your computer.

And besides the extension might not be runnable in a local machine for some reason or another, like for instance if it needs to be in a remote server to connect to a legacy system.

And it's not usual to find a visual studio installation in a development server.

Inside SS, call Visual studio and debug the extension code.

Merged from 'Debug an Extension!' (idea created on 2011-04-14 19:10:49 by Nuno Baptista), on 2011-04-20 09:43:08 by Rodrigo Castelo
We must be able to debug an extension without having to attach it to the server's process instance.

Merged from 'Simplify the extensions debug process' (idea created on 2011-07-19 10:01:16 by André Ramos), on 2015-12-01 12:29:12 by Goncalo Borrega
Merged this idea with 'Debug an Extension!' (created on 2011-04-14 19:10:49 by Nuno Baptista)
Merged this idea with 'Debug the extension in the Outsystems' (created on 04 Feb 2020 11:02:42 by Manish Pushpadh)

Hi Team,


I am facing an issue while debug the extensions in outsytems which has been used ,

So would request OS to facilitate with it where a developer can debug at any point of time.

By this life of a developer would become much easier.


Regards

Manish P



This comment was:
- originally posted on idea 'Debug the extension in the Outsystems' (created on 04 Feb 2020 by Manish Pushpadh)
- merged to idea 'Better debugging for extensions' on 06 Feb 2020 11:23:25 by Nuno Reis

Though this would indeed be very nice, it's also extremely difficult, as Extensions aren't created in OutSystems tooling.



This comment was:
- originally posted on idea 'Debug the extension in the Outsystems' (created on 04 Feb 2020 by Manish Pushpadh)
- merged to idea 'Better debugging for extensions' on 06 Feb 2020 11:23:25 by Nuno Reis

Yes, this will be  a really nice to have feature.

As of now i usually try to debug extensions using console app.



This comment was:
- originally posted on idea 'Debug the extension in the Outsystems' (created on 04 Feb 2020 by Manish Pushpadh)
- merged to idea 'Better debugging for extensions' on 06 Feb 2020 11:23:25 by Nuno Reis

Hi,

Here is a great instruction video on how to use OutSystems Audit logging in extensions and how to add a console app to your extension for debugging purpose.

https://www.youtube.com/watch?v=D6PL8CHEzd4&list=PLkXXB4zZ-CBzCf7RnVQKJK47qsjsNdYPf



This comment was:
- originally posted on idea 'Debug the extension in the Outsystems' (created on 04 Feb 2020 by Manish Pushpadh)
- merged to idea 'Better debugging for extensions' on 06 Feb 2020 11:23:25 by Nuno Reis