- Scientific Computing with Scala
- Vytautas Jan?auskas
- 139字
- 2021-07-16 11:07:24
Debugging Scala code
Using a dedicated debugger (rather than a bunch of println
statements) is sometimes the best way of figuring out where you went wrong when writing your program. Debugging is easy when using ENSIME. You can start the debugger with C-c C-d d, set a breakpoint on a line that the cursor is on with C-c C-d b, or remove a breakpoint with C-c C-d u. After you set up your breakpoints, you can start debugging with C-c C-d r. After your program stops at a breakpoint, you can use C-c C-d n to step to the next line and C-c C-d i to inspect the value of the symbol under the cursor. You can use C-c C-d t to show the current backtrace. Consult the ENSIME Emacs command reference for a few other important debugger features.
推薦閱讀
- 新編Visual Basic程序設(shè)計(jì)上機(jī)實(shí)驗(yàn)教程
- Puppet 4 Essentials(Second Edition)
- C語言程序設(shè)計(jì)(第3版)
- C語言程序設(shè)計(jì)案例教程(第2版)
- R語言數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南
- CKA/CKAD應(yīng)試教程:從Docker到Kubernetes完全攻略
- Big Data Analytics
- Hands-On Automation Testing with Java for Beginners
- Python Web數(shù)據(jù)分析可視化:基于Django框架的開發(fā)實(shí)戰(zhàn)
- 微信小程序開發(fā)與實(shí)戰(zhàn)(微課版)
- UNIX Linux程序設(shè)計(jì)教程
- 零基礎(chǔ)看圖學(xué)ScratchJr:少兒趣味編程(全彩大字版)
- 軟件測試(慕課版)
- 微信公眾平臺(tái)服務(wù)號(hào)開發(fā):揭秘九大高級(jí)接口
- 亮劍Java Web項(xiàng)目開發(fā)案例導(dǎo)航