flashbuilder4 conditional breakpoint in the

2010-12-17  来源:本站原创  分类:Flash  人气:95 

lash Builder 4 compared to the previous version of the breakpoints increased compared intimate way - conditional breakpoint. What specifically does that mean? That is, before we are in the breakpoints, the program always stops execution to every one, but sometimes the debugging cycle, each time to stop all have to "process", very easy to operate, and now this newly added conditional breakpoint, you can follow 3 different ways to debug, it is convenient, let's look at how to operate.

First, make sure the system is already installed FLASH PLAYER DEBUG version, if not can go to Adobe official website to download.
Write a for loop code, in trace (abc); the line to break, and then right-click the breakpoint and select "Breakpoint Properties."
Code
private function test (): void
{
var abc: int = 0;
var efg: int = 0;
for (var i: int = 0; i <100; i + +)
{
abc = i +5;
if (abc> 50)
{
efg + +;
}
trace (abc);
}
}
flashbuilder4 conditional breakpoint in the

In the dialog box we can see that the conditions set breakpoint interface. We can see that the breakpoint is divided into three categories: hit count breakpoint, the breakpoint condition is true, the value change breakpoint.
flashbuilder4 conditional breakpoint in the

Hit count breakpoint, that breakpoint number of lines of code to be executed consistent with the set value, the program stops at the breakpoint location. We will count to 10, that trace (abc); to be executed when the program will be the tenth suspended.
flashbuilder4 conditional breakpoint in the

Debugger when the program stops at the breakpoint, a look at this time the variable value, i the value of 9, indicating that trace (abc); carried out 10 times.
flashbuilder4 conditional breakpoint in the

Breakpoint condition is true, that when the conditions are met in the set expression, and the operator return value is true, the program stops at the breakpoint location. We will abc == 9 as a condition, "pending condition occurs," select "when the condition is true."
flashbuilder4 conditional breakpoint in the

Debugger when the program stops at the breakpoint, a look at this time of the variable value, abc's value exactly 9.
flashbuilder4 conditional breakpoint in the

Breakpoint value changes, the set of variables in the program is running if the value is changed, the program stops at the breakpoint location. We will as a condition variable variable efg "place pending conditions" select "change the value of the conditions."
flashbuilder4 conditional breakpoint in the

Debugger: when the program stops at the breakpoint, a look at this time of the variable value, efg value indeed changed, from 0 to 1.
flashbuilder4 conditional breakpoint in the

From http://www.flashbuilderx.com/article.asp?id=10

相关文章
  • flashbuilder4 conditional breakpoint in the 2010-12-17

    lash Builder 4 compared to the previous version of the breakpoints increased compared intimate way - conditional breakpoint. What specifically does that mean? That is, before we are in the breakpoints, the program always stops execution to every one,

  • Use the DEBUG interface debugger FlashBuilder4 2011-01-08

    Start the debug session Add and remove breakpoints Set conditional breakpoints In the "Breakpoints" view, manage breakpoints In the "Debug" view management debugging session Use the "Console" view In the "variable"

  • GDB debugging instance of the essence and the use of 2010-02-21

    1: List of documents listed 1. List (Gdb) list line1, line2 2: To implement procedures to prepare for debugging programs running, use the run command, sent it back to follow any of the program parameters, including standard input and output specifier

  • Compendium Review Notes (1) 2010-04-01

    <br /> Data register data register including accumulator AX, base address registers BX, CX and data count register register DX. This four 16-bit registers can be divided into the high 8-bit, respectively (AH, BH, CH, DH) and low 8-bit (AL, BL, CL, D

  • Eclipse debugging techniques used 2010-04-06

    This article written for those who, like me, like a few years ago just out of school, and a cause has not used some of the debugging skills of these senior people. I remember just graduated, he himself will not even hit the breakpoint, was still usin

  • Zend Studio for debugging and variable view garbled 2010-04-12

    Variables View garbled by the map set on the line To which you set the character set encoding of php file By default, do not see the Watch view, can not monitor variables, looking for can not find, in fact, the name Watch view into the Expressions vi

  • Easy language shortcuts 2010-08-12

    Unity 4.1 easy language to customize keyboard shortcuts, and proposed new features when looking at the contents of the following, please understand that. Yi language is MDI Multiple Document Interface, you can also edit multiple formats of the window

  • flex4 new features 10 2010-10-03

    MAX conference Heidi Williams introduced with 10 minutes Flex Builder 4 (Gumbo) of the 10 new features, related videos here. Of course this is only Flex Builder 4 in a small minority. Summarize a bit: 1) Package Explorer If you are familiar with Ecli

  • flex4 10 new features 2010-10-03

    MAX conference Heidi Williams introduced with 10 minutes Flex Builder 4 (Gumbo) of the 10 new features, related videos here. Of course this is only Flex Builder 4 in a small minority. Summarize a bit: 1) Package Explorer If you are familiar with Ecli

  • Android Application Development Secret Chapter Notes 1,2 2010-11-27

    Android finally opened the book, just look at the first two chapters, some general introduction to the structures and the environment. Simple things like the outline notes it as a record, from tomorrow, should be considered a formal learning Android.

  • Debugging using the Eclipse platform 2010-12-24

    This article outlines how to use the Eclipse platform's built-in debugging features to debug your software projects. Debugging is the programmer's work can not be avoided. There are many ways debugging, but in the final analysis, is to find the code

  • Eclipse debugging in-depth 2010-12-25

    Background: I still stay in the debugging breakpoints, stay in the F5 F6 F7, watch for the deeper stages of debugging techniques is unknown, it intends to in-depth learning about today. Find a good reference: http://daimojingdeyu.javaeye.com/blog/633

  • OllyDbg tips summary 2011-07-17

    OllyDbg (referred od) is a Win32 assembler level analyzing debugger. Download: http://www.ollydbg.de/ Reference (Japanese): sp-.up.seesaa.net/image/kyozai.html Simple usage: (1) open exe File-> Open (2) attached to the process (if you want to debug t

  • OllyDbg完全教程 2012-03-09

    OllyDbg完全教程 一,什么是 OllyDbg? OllyDbg 是一种具有可视化界面的 32 位汇编-分析调试器.它的特别之处在于可以在没有源代码时解决问题,并且可以处理其它编译器无法解决的难题. Version 1.10 是最终的发布版本. 这个工程已经停止,我不再继续支持这个软件了.但不用担心:全新打造的 OllyDbg 2.00 不久就会面世! 运行环境: OllyDbg 可以以在任何采用奔腾处理器的 Windows 95.98.ME.NT 或是 XP(未经完全测试)操作系统中工作,

  • DEV C + + breakpoint setting has no effect 2010-04-01

    Today the use DEV C + + compiler, set a breakpoint in the breakpoint after the program is not stopped, the result search, solutions are as follows: 1 Open DEV C + +, open an item, click the menu "project "-->" project options", sele

  • [Ghost city classroom] 2-1 acquaintance conditional statements and variables 2010-04-03

    Learning Objective: To understand conditional statements and variable tutorial content: Now the stage put a MC, we want this MC move on stage, but when the MC of the X coordinate of 400, we let the MC transfer head, how? Used to describe a Chinese st

  • Conditional use filter 2010-04-08

    Using the filter for access control, is a feature of rails. When we use the filter, usually combined with authentication plug-in. 1. The need to use the login authentication method to use according to the following areas are: before_filter :login_req

  • Use IE conditional comments to achieve compatible display hidden table rows FireFox 2010-04-20

    .child,tr[class|="child"] { display:none; } .nchild,tr[class|="nchild"] { display:table-row; } </style> <!--[if IE]> <style type="text/css"> .nchild,tr[class|="nchild"] { display:block; } </styl

  • Shell conditional sum 2010-05-13

    Summary of some conditional -B file if the file exists and is a block special file, True -C file if the file exists and is a character special file, True -D file if the file exists and is a directory, was really -E file if the file exists, was really

  • linux shell conditional statements 2010-06-03

    shell nested conditional statement, the judge twice as far as possible close to the collection <script type="text/javascript"> document.body.oncopy = function () (if (window.clipboardData) (setTimeout (function () (var text = clipboardData