Professional IronPython


j or jump: Forces the debugger to jump to the line of code specified as an argument. ➤ ➤ l or list



Download 20,35 Mb.
Pdf ko'rish
bet273/453
Sana01.07.2022
Hajmi20,35 Mb.
#723045
1   ...   269   270   271   272   273   274   275   276   ...   453
j or jump: Forces the debugger to jump to the line of code specified as an argument.


l or list: Displays the specified lines of code. If you don’t supply any arguments with the com-
mand, the debugger displays 11 lines of code starting with the current line. When you supply 
just a starting point (a code line number), the debugger displays 11 lines of code starting with 
the starting point you specify. To control the listing completely, supply both a starting and 
ending point.


n or next: Continues execution to the next line of code. If the current line of code is a function, 
the debugger executes all of the code within the function and stops at the next line of code in 
the current function. In sum, this command works much like a step over command in most 
other debuggers. (See return, step, and until for other stepping commands.)
p:


Prints the value of an expression as the debugger sees it. Don’t confuse this command with 
the IronPython 
print()
function, which prints an expression based on how IronPython sees it.


pp: Performs a pretty print. Essentially, this command is the same as the 
p
command, except 
that the debugger interprets any control characters within the output so that the output 
appears with line feeds, carriage returns, tabs, and other formatting in place.


r or return: Continues execution until the current function returns. This command works 
much like a step out command in most other debuggers (see next, step, and until for other 
stepping commands). 


restart: Restarts the current application at the beginning so that you can retest it. The com-
mand lets you supply optional arguments that appear as part of the 
sys.argv
attribute. This 
command preserves debugger history, breakpoints, actions, and options.


run: Starts the application when used within Python as demonstrated earlier in this sec-
tion. However, this command is simply an alias for restart when used within the debugger 
environment.


s or step: Executes the current line of code and then moves to the next line of code, even if 
that line of code appears within another function. This command works much like a step into 
command in most other debuggers (see next, return, and until for other stepping commands).


tbreak: Performs precisely like a break command, except that the debugger removes the 
breakpoint when the debugger stops at it the first time. This is a useful command when you 
want to execute a breakpoint just one time.
548592c12.indd 259
2/24/10 12:48:49 PM
www.finebook.ir



Download 20,35 Mb.

Do'stlaringiz bilan baham:
1   ...   269   270   271   272   273   274   275   276   ...   453




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish