SlideShare a Scribd company logo
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
No	implementation	of	method:	:alter-name	of	protocol:
'camel-snake-kebab.internals.alter-name/AlterName
found	for	class:	nil,	compiling:
(/private/var/folders/hn/tgwyrdmj1/T/form-
init2789214926070543937.clj:1:125)
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
~/.lein/profiles.clj
{:user	{:repl-options	{:init	(set!	*print-length*	150)}
								:dependencies	[[spyscope	"0.1.5"]]
								:injections			[(require	'spyscope.core)]}
	:dev		{:dependencies	[[proto-repl	"0.3.1"]
																							[proto-repl-charts	"0.3.1"]
																							[alembic	"0.3.2"]]}}
#spy/p	-	pretty	print
user=>	(take	20	(repeat	#spy/p	(+	1	2	3)))
6
(6	6	6	6	6	6	6	6	6	6	6	...)
#spy/d	-	debug	output
(defn	foo
		"I	don't	do	a	whole	lot."
		[x]
		(println	#spy/d	x	"Hello,	World!"))
	
spyscope.core$pretty_render_value.invokeStatic(core.clj:24)	x	=>	10
10	Hello,	World!
#spy/t	-	trace-query
(defn	call-future	[p]	(future	(Thread/sleep	10000)	
																							#spy/t	(+	4	
																																(:value	{:value	p	
																																									:something	"else"}))))
	
user=>(use	`spyscope.repl)
nil
user=>(trace-query)
spyscope.core$pretty_render_value.invokeStatic(core.clj:24)	(+	(:value	{:value	p,	:something	"else"}))	=>	100
----------------------------------------
spyscope.core$pretty_render_value.invokeStatic(core.clj:24)	(+	(:value	{:value	p,	:something	"else"}))	=>	100
----------------------------------------
spyscope.core$pretty_render_value.invokeStatic(core.clj:24)	(+	4	(:value	{:value	p,	:something	"else"}))	=>	1
nil
#dbg #break
dbg
,	d	b C-u	C-M-x
defn
,	e	f
(defn	do-stuff	[x	y	z]
		(let	[file	(slurp	"./README.md")
								hello	(take	10	file)]
				#dbg	^{:break/when	(some?	file)}
				(+	10	(count	hello))))
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive
Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive

More Related Content

DOCX
Batch processing Demo
PPTX
Node child process
PDF
Spock framework
KEY
Zen: Building Maintainable Catalyst Applications
PDF
Ansible 2.0
PDF
Large scale machine learning projects with r suite
PDF
Ansible 2.0 spblug
PDF
Python Unit Test
Batch processing Demo
Node child process
Spock framework
Zen: Building Maintainable Catalyst Applications
Ansible 2.0
Large scale machine learning projects with r suite
Ansible 2.0 spblug
Python Unit Test

What's hot (19)

PDF
Wso2 esb-rest-integration
PPTX
TXT
Yg byev2e
PDF
EasyMock 101
PDF
Nevyn — Promise, It's Async! Swift Language User Group Lightning Talk 2015-09-24
PDF
톰캣 #04-환경설정
PPTX
Test Fest 2009
PDF
One page app with AngularJS
PDF
No instrumentation Golang Logging with eBPF (GoSF talk 11/11/20)
KEY
Anatomy of a PHP Request ( UTOSC 2010 )
ODP
Testes pythonicos com pytest
PPTX
Javascript Common Mistakes
PPTX
CodeIgniter Ant Scripting
TXT
fabfile.py
PDF
God Presentation
PDF
JavaOne 2015 - Having fun with Javassist
PDF
PythonShutdownWindows
DOCX
As props
PPTX
Code igniter unittest-part1
Wso2 esb-rest-integration
Yg byev2e
EasyMock 101
Nevyn — Promise, It's Async! Swift Language User Group Lightning Talk 2015-09-24
톰캣 #04-환경설정
Test Fest 2009
One page app with AngularJS
No instrumentation Golang Logging with eBPF (GoSF talk 11/11/20)
Anatomy of a PHP Request ( UTOSC 2010 )
Testes pythonicos com pytest
Javascript Common Mistakes
CodeIgniter Ant Scripting
fabfile.py
God Presentation
JavaOne 2015 - Having fun with Javassist
PythonShutdownWindows
As props
Code igniter unittest-part1
Ad

Similar to Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive (20)

PPTX
How I Built a Power Debugger Out of the Standard Library and Things I Found o...
PDF
Alexander Reelsen - Seccomp for Developers
TXT
Hello click click boom
PPTX
Virtualization and automation of library software/machines + Puppet
PDF
How I Built a Power Debugger Out of the Standard Library and Things I Found o...
PDF
Тестирование и Django
PDF
Debugging: Rules & Tools
KEY
Django’s nasal passage
KEY
Testing My Patience
PDF
Writing and Publishing Puppet Modules - PuppetConf 2014
PPTX
How Secure Are Docker Containers?
PDF
Zero Downtime Deployment with Ansible
KEY
Quality Use Of Plugin
PDF
Non stop random2b
KEY
Django Celery
PDF
Debugging: Rules And Tools - PHPTek 11 Version
PDF
Puppet @ Seat
PDF
Marrow: A Meta-Framework for Python 2.6+ and 3.1+
PDF
Ansible tips & tricks
PDF
Zabbix LLD from a C Module by Jan-Piet Mens
How I Built a Power Debugger Out of the Standard Library and Things I Found o...
Alexander Reelsen - Seccomp for Developers
Hello click click boom
Virtualization and automation of library software/machines + Puppet
How I Built a Power Debugger Out of the Standard Library and Things I Found o...
Тестирование и Django
Debugging: Rules & Tools
Django’s nasal passage
Testing My Patience
Writing and Publishing Puppet Modules - PuppetConf 2014
How Secure Are Docker Containers?
Zero Downtime Deployment with Ansible
Quality Use Of Plugin
Non stop random2b
Django Celery
Debugging: Rules And Tools - PHPTek 11 Version
Puppet @ Seat
Marrow: A Meta-Framework for Python 2.6+ and 3.1+
Ansible tips & tricks
Zabbix LLD from a C Module by Jan-Piet Mens
Ad

Recently uploaded (20)

PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
history of c programming in notes for students .pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
System and Network Administraation Chapter 3
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
AI in Product Development-omnex systems
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
top salesforce developer skills in 2025.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
System and Network Administration Chapter 2
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
ai tools demonstartion for schools and inter college
PPTX
Essential Infomation Tech presentation.pptx
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Transform Your Business with a Software ERP System
PPTX
Reimagine Home Health with the Power of Agentic AI​
VVF-Customer-Presentation2025-Ver1.9.pptx
history of c programming in notes for students .pptx
Design an Analysis of Algorithms II-SECS-1021-03
System and Network Administraation Chapter 3
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
AI in Product Development-omnex systems
How Creative Agencies Leverage Project Management Software.pdf
Odoo POS Development Services by CandidRoot Solutions
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
top salesforce developer skills in 2025.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
System and Network Administration Chapter 2
Adobe Illustrator 28.6 Crack My Vision of Vector Design
CHAPTER 2 - PM Management and IT Context
Odoo Companies in India – Driving Business Transformation.pdf
ai tools demonstartion for schools and inter college
Essential Infomation Tech presentation.pptx
L1 - Introduction to python Backend.pptx
Transform Your Business with a Software ERP System
Reimagine Home Health with the Power of Agentic AI​

Debugging in Clojure: Finding Light in the Darkness using Emacs and Cursive