HyperRobotFrameworkPlugin icon indicating copy to clipboard operation
HyperRobotFrameworkPlugin copied to clipboard

Add support for debugging .robot files

Open jasle opened this issue 1 year ago • 3 comments

Currently it is possible to set breakpoints inside python code but not in .robot-files.

It would be great to have also the possible to use the debugger with them.

jasle avatar Jun 04 '24 13:06 jasle

老哥有空支持一下这个功能么 @jnhyperion

tiodot avatar Nov 14 '24 07:11 tiodot

这个功能比较复杂,不是一时半会可以实现的。This is a complex feature which requires many efforts, unfortunately I still do not have enough time working on this.

jnhyperion avatar Nov 14 '24 07:11 jnhyperion

Using python file debugging will solve most of our usually cases:

kw.py

def my_debug(arg):
    print(arg) # add break point here
*** Settings ***
Library    kw.py
*** Test Cases ***
my test
     foo
     my debug    ${var_you_want_to_debug}     # add py kw here
     bar

jnhyperion avatar Nov 14 '24 07:11 jnhyperion