?? debuggingreport.txt
字號(hào):
----------------------------------------------------------------------
Bug #1
Description of the bug:
Answer: Local variables, numberOfA, numberOfT, numberOfC, numberOfG. They coverd the global variables.
Lines of source code that contain the bug:
Answer:Line 86, 87, 88, 89
Lines of the fixed code:
Answer: delete all the code in line 86, 87, 88, 89
----------------------------------------------------------------------
Bug #2
Description of the bug:
Answer:It should not be variable numberOfC, but numberOfG
Lines of source code that contain the bug:
Answer: Line 104
Lines of the fixed code:
Answer: change variable numberOfC to numberOfG
----------------------------------------------------------------------
Bug #3
Description of the bug:
Answer:The condition of while loop is not correct
Lines of source code that contain the bug:
Answer:Line 166
Lines of the fixed code:
Answer: while( index < sequence.length() )
----------------------------------------------------------------------
Bug #4
Description of the bug:
Answer:The logic of condition of if statement is not correct
Lines of source code that contain the bug:
Answer: Line 172
Lines of the fixed code:
Answer: if( (firstNucleotide == input) && (secondNucleotide == input) )
---------------------------------------------------------------------------
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -