Skip to main content
Question

A360 - Debugging Assistant

  • December 19, 2024
  • 5 replies
  • 50 views

Forum|alt.badge.img+5
  • Navigator | Tier 3
  • 19 replies

Is there a way to use the Debugging tool like the “Run from here...” command, but through mid point of code? I would like to use the ‘Step over’ function but always have to run my code from beginning.

My current way around it is; to copy my line of code (e.g. say middle part) to the beginning of the bot to then use the debugging tool to see that part run.

5 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+10
  • Automation Anywhere Team
  • 503 replies
  • December 19, 2024

Best practices for this use Step actions to segment your task bot. You can disable a Step and all the actions inside will also be disabled.

By only enabling the Step around the actions you want to test, you can more easily use Debug to execute only the steps you want to execute. 


Forum|alt.badge.img+5
  • Author
  • Navigator | Tier 3
  • 19 replies
  • December 19, 2024

Which makes it more manageable when having it in steps (which I have) would prefer a ‘Step over’ function without having to disable and then re-enable my line of code when having to do a run from a particular segment.


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+10
  • Automation Anywhere Team
  • 503 replies
  • December 19, 2024

I would contact your CSM and let them know about your feature request.


Vatsy
Mission Commander | Tier 5
Forum|alt.badge.img+12
  • Mission Commander | Tier 5
  • 93 replies
  • December 19, 2024

Hi ​@s.ali,
As a suggestion, you can also use breakpoints to directly run to the breakpoint step while debugging. I use that all the time to make things a bit faster. 


Forum|alt.badge.img+5
  • Author
  • Navigator | Tier 3
  • 19 replies
  • December 23, 2024

Hi ​@Vatsy 

I use the Breakpoint feature a lot but this seems to make it much easier when trying to run a specific code using the “Run from here...” command.

I understand can cause issues due to:

  • passing variables at different points 
  • windows not existing at certain points
  • code being inside an IF or Loop.

But nonetheless it would provide to be useful it could run but stop running when met with the above (Or a way round this).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings