Skip to content

Commit

Permalink
Update B2.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoa authored Dec 7, 2017
1 parent 5fb67df commit 6d5bedc
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions B2.ipynb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"cells": [
{
"cell_type": "markdown",
"cell_type": "raw",
"metadata": {},
"source": [
"Documented commands (type help <topic>):\n",
"# Documented commands (type help <topic>):\n",
"========================================\n",
"EOF cl disable interact next psource rv unt \n",
"a clear display j p q s until \n",
Expand All @@ -22,9 +22,17 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"r1 130\n"
]
}
],
"source": [
"def test_debug(y):\n",
" x = 12\n",
Expand All @@ -35,15 +43,16 @@
" zz=str(\"zzz\")\n",
" #a.do_debug() ### type help for command list in debugger\n",
" #a.do_pinfo(zz)\n",
" a.set_trace(frame=None)\n",
" #a.set_trace(frame=None)\n",
" x = x + y\n",
" \n",
" for i in range(15):\n",
" x = x+i\n",
" \n",
" return x\n",
" \n",
"test_debug(13)"
"r1=test_debug(13)\n",
"r2=print(\"r1 \" , r1)"
]
}
],
Expand Down

0 comments on commit 6d5bedc

Please sign in to comment.