Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 在Adobe';什么是FDB?_Apache Flex_Debugging_Air_Fdb - Fatal编程技术网

Apache flex 在Adobe';什么是FDB?

Apache flex 在Adobe';什么是FDB?,apache-flex,debugging,air,fdb,Apache Flex,Debugging,Air,Fdb,我正在学习Flex命令行调试器,但还没有找到关于这个特定用例的信息 我想在我的一个类文件中的特定行中添加一个断点。我可以在类中函数的开头添加断点,但我不知道如何在特定行(例如Foo.as中的第117行)设置断点 当我尝试为给定行上的文件设置一个时,我会在不同的位置得到一个: (fdb)break Foo 111 0x######处的断点1:文件Foo.as,第115行 我已经验证了我指定的行是有效的,所以我认为FDB没有试图进行补偿 我做错什么了吗?这在FDB中可能吗?绝对可能 查看fdb中的帮

我正在学习Flex命令行调试器,但还没有找到关于这个特定用例的信息

我想在我的一个类文件中的特定行中添加一个断点。我可以在类中函数的开头添加断点,但我不知道如何在特定行(例如Foo.as中的第117行)设置断点

当我尝试为给定行上的文件设置一个时,我会在不同的位置得到一个:

(fdb)break Foo 111

0x######处的断点1:文件Foo.as,第115行

我已经验证了我指定的行是有效的,所以我认为FDB没有试图进行补偿

我做错什么了吗?这在FDB中可能吗?

绝对可能

查看fdb中的帮助,它非常有用:)。只需键入help或键入help,然后键入命令。help break给出了下面的输出,有很多很好的方法可以挂接在那里,您使用的语法只是在类和指定的行号之间缺少一个冒号,只是尝试了一个MXML文件,效果很好

Set breakpoint at specified line or function.
Examples:
  break 87
    Sets a breakpoint at line 87 of the current file.
  break myapp.mxml:56
    Sets a breakpoint at line 56 of myapp.mxml.
  break #3:29
    Sets a breakpoint at line 29 of file #3.
  break doThis
    Sets a breakpoint at function doThis() in the current file.
  break myapp.mxml:doThat
    Sets a breakpoint at function doThat() in file myapp.mxml.
  break #3:doOther
    Sets a breakpoint at function doOther() in file #3.
  break
   Sets a breakpoint at the current execution address in the
   current stack frame. This is useful for breaking on return
   to a stack frame.
To see file names and numbers, do 'info sources' or 'info files'.
To see function names, do 'info functions'.
Abbreviated file names and function names are accepted if unambiguous.
If line number is specified, break at start of code for that line.
If function is specified, break at start of code for that function.
See 'commands' and 'condition' for further breakpoint control.