cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Can we debug in PowerApps?

Hi,

 

Is there any provision in PowerApps to debug a code?

 

I have a long code in 'OnSelect' property and I want to run it line by line.

 

Regards,

Aakash

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Can we debug in PowerApps?

The way I do it is by adding labels on the screen and putting pieces of codes in one or many labels to see the outcome of each step. I know it's not exactly what you are looking for, but it's a way to check which step fails and why.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

View solution in original post

Highlighted
Super User III
Super User III

Re: Can we debug in PowerApps?

You can also enable the formula bar results in the settings. Then for each action on select of your button you can see the results in the formula bar.
https://blog.pronict.net/2019/09/23/powerapps-enable-formula-bar-result-view/

If you like this post, give a thumbs up. Where it solved your issue, Mark as a solution

View solution in original post

3 REPLIES 3
Highlighted
Super User II
Super User II

Re: Can we debug in PowerApps?

The way I do it is by adding labels on the screen and putting pieces of codes in one or many labels to see the outcome of each step. I know it's not exactly what you are looking for, but it's a way to check which step fails and why.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

View solution in original post

Highlighted
Super User III
Super User III

Re: Can we debug in PowerApps?

You can also enable the formula bar results in the settings. Then for each action on select of your button you can see the results in the formula bar.
https://blog.pronict.net/2019/09/23/powerapps-enable-formula-bar-result-view/

If you like this post, give a thumbs up. Where it solved your issue, Mark as a solution

View solution in original post

Highlighted
Helper IV
Helper IV

Re: Can we debug in PowerApps?

Hello @eka24 , @eka24 ,

 

Thank you both for replying. I knew about that but now it's confirmed. However, I was hoping to have a debug explorer or maybe an immediate window as we have in visual basic in excel. 

 

Thanks again,

Aakash

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,866)