cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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

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

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

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

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
Anonymous
Not applicable

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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,107)