cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AakashJaiswal Helper III
Helper III

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
Super User
Super User

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

eka24 Community Champion
Community Champion

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
Super User
Super User

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

eka24 Community Champion
Community Champion

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

AakashJaiswal Helper III
Helper III

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (5,381)