Re: How to attach debugger on clojure's repl ?

2011-12-04 Thread George Jahad
I think the problem is no one has used both of them enough to really
understand the differences.  Here is my understanding as of now, but
I'm not that familiar with Ritz yet.  Functionally, they both do
basically the same thing: set breakpoints, catch exceptions, step
through code, and eval clojure expressions all from within slime.

Ritz also has the nice feature of dissassembling byte codes, which I
haven't yet added to swank-cdt.  It also has cake support, which swank-
cdt doesn't.

The real difference is actually architectural, not functional.  Swank-
cdt is integrated into Technomancy's swank-clojure, while Ritz is a
replacement of swank-clojure.

Hope that answers more questions than it raises.


On Dec 3, 6:58 am, Chris Perkins chrisperkin...@gmail.com wrote:
 On Saturday, December 3, 2011 9:50:21 AM UTC-5, Sam Aaron wrote:

  I never did manage to get ritz working. I believe the issue was with ritz
  - cake (I still use cake for Overtone hacking). However, now that cake
  and lein are going to be united, we can just focus on lein support for the
  future.

  Alternatively, George Jahad has updated CDT (The Clojure Debugging
  Toolkit) to work with Clojure 1.3 which I'm testing out at the moment. He
  gave me a demo at the conj and it was insanely cool and worked perfectly.

 Yeah, I just got CDT working this morning too, but I wanted to try ritz as
 well to compare/contrast.

 Does anyone know what the key differences are?  Do cdt and ritz do
 more-or-less the same things?

 - Chris

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-12-03 Thread Chris Perkins
On Friday, September 23, 2011 8:00:36 AM UTC-4, Sam Aaron wrote:

  

 I'd be very happy to write up a Getting Started tutorial on the ritz 
 wiki if I can get things working.

 Sam

 (two months later)

Not to publicly shame you or anything, Sam, but... how's that tutorial 
coming along?  :)))

Seriously - did you ever manage to get ritz working? I would like to try 
it, but I really need a for dummies guide.

I think I have followed the instructions to the letter, but when I run lein 
ritz I see this:

% lein ritz
Listening for transport dt_socket at address: 37460
user= Swank server listening on local port  4005

Note the user= prompt - I don't think that should be there.

Then, when I run slime-connect (which I assume is the missing step in the 
ritz readme between lein ritz and set a breakpoint), I see:

Versions differ: 2010-11-13 (slime) vs. 20101113 (swank). Continue?

Simultaneously, another prompt appears over in the terminal (not in emacs):

Listening for transport dt_socket at address: 37460
user= Swank server listening on local port  4005
user= 

I answer yes to the Continue question, but no repl opens in emacs.

I can enter something at the user= prompt in the terminal, but it doesn't 
respond.

Any idea where I went wrong?

- Chris

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to attach debugger on clojure's repl ?

2011-12-03 Thread Sam Aaron

On 3 Dec 2011, at 14:03, Chris Perkins wrote:

 On Friday, September 23, 2011 8:00:36 AM UTC-4, Sam Aaron wrote:
  
 I'd be very happy to write up a Getting Started tutorial on the ritz wiki 
 if I can get things working.
 
 Sam
 
  (two months later)
 
 Not to publicly shame you or anything, Sam, but... how's that tutorial coming 
 along?  :)))

I never did manage to get ritz working. I believe the issue was with ritz - 
cake (I still use cake for Overtone hacking). However, now that cake and lein 
are going to be united, we can just focus on lein support for the future.

Alternatively, George Jahad has updated CDT (The Clojure Debugging Toolkit) to 
work with Clojure 1.3 which I'm testing out at the moment. He gave me a demo at 
the conj and it was insanely cool and worked perfectly.

Sam

---
http://sam.aaron.name

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-12-03 Thread Chris Perkins
On Saturday, December 3, 2011 9:50:21 AM UTC-5, Sam Aaron wrote:


 I never did manage to get ritz working. I believe the issue was with ritz 
 - cake (I still use cake for Overtone hacking). However, now that cake 
 and lein are going to be united, we can just focus on lein support for the 
 future.

 Alternatively, George Jahad has updated CDT (The Clojure Debugging 
 Toolkit) to work with Clojure 1.3 which I'm testing out at the moment. He 
 gave me a demo at the conj and it was insanely cool and worked perfectly. 

Yeah, I just got CDT working this morning too, but I wanted to try ritz as 
well to compare/contrast.

Does anyone know what the key differences are?  Do cdt and ritz do 
more-or-less the same things?

- Chris
 

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to attach debugger on clojure's repl ?

2011-09-23 Thread Sam Aaron

On 23 Sep 2011, at 06:14, Glen Stampoultzis wrote:
 
 
 Ritz looks really nice the setup seems complicated.  I haven't had much luck 
 setting it up unfortunately. 

Me neither. Here's the steps I took so far:

* Cloned https://github.com/pallet/ritz to a tmp dir
* Copied the slime dir inside ritz into my .emacs.d dir
* Modified my global cake project.clj file to look as follows:

(defproject global 0.0.0
  :description Don't rename this project, but you can change the version if 
you want.
  :dependencies [[clojure 1.3.0-RC0]]
  :dev-dependencies [[ritz 0.1.8-SNAPSHOT]])

* Ran `cake deps --global`
* My .cake dir now looks as follows:

/Users/sam/.cake 
├── build
├── classes  
├── lib  
│   ├── clojure-1.3.0-RC0.jar
│   ├── deps.clj 
│   └── dev  
│   ├── ritz-0.1.8-20110809.143608-3.jar 
│   └── useful-0.4.0.jar 
├── pom.xml  
├── project.clj  
├── run  
└── templates
└── default  
├── LICENSE  
├── project.clj  
├── src  
│   └── +project+
│   └── core.clj 
└── test 
 
10 directories, 9 files  

* The ritz README talks about making sure tools.clj is in the classpath. 
However, it appears on OS X there is no tools.jar:

tools.jar does not exist. Classes usually located here are instead included in 
classes.jar. Scripts that rely on the existence of tools.jar need to be 
rewritten accordingly. (see 
http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html)

* I created a blank project with `cake new foo`
* cd into foo
* Ran `cake ritz` to get the error unknown task: ritz.

I'm unsure where to go from here. How do I teach cake about the ritz task? Am I 
missing any specific steps? Is not having tools.jar available on OS X an issue? 

I'd be very happy to write up a Getting Started tutorial on the ritz wiki if 
I can get things working.

Sam

---
http://sam.aaron.name


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-09-23 Thread Scott Jaderholm
I don't think it looks for tools.jar specifically, it probably just uses the
classes in there so as long as they're on the classpath you should be fine.
I wouldn't worry about it unless you see an error saying it can't find some
classes that googling reveals are in tools.jar.

The README doesn't mention any cake plugins, that's why cake ritz isn't
working. If cake supports lein plugins then maybe you didn't do lein plugin
install ritz 0.1.7.

Perhaps use lein or the maven plugin instead.

Scott

On Fri, Sep 23, 2011 at 8:00 AM, Sam Aaron samaa...@gmail.com wrote:


 On 23 Sep 2011, at 06:14, Glen Stampoultzis wrote:
 
 
  Ritz looks really nice the setup seems complicated.  I haven't had much
 luck setting it up unfortunately.

 Me neither. Here's the steps I took so far:

 * Cloned https://github.com/pallet/ritz to a tmp dir
 * Copied the slime dir inside ritz into my .emacs.d dir
 * Modified my global cake project.clj file to look as follows:

 (defproject global 0.0.0
  :description Don't rename this project, but you can change the version if
 you want.
  :dependencies [[clojure 1.3.0-RC0]]
  :dev-dependencies [[ritz 0.1.8-SNAPSHOT]])

 * Ran `cake deps --global`
 * My .cake dir now looks as follows:

 /Users/sam/.cake
 ├── build
 ├── classes
 ├── lib
 │   ├── clojure-1.3.0-RC0.jar
 │   ├── deps.clj
 │   └── dev
 │   ├── ritz-0.1.8-20110809.143608-3.jar
 │   └── useful-0.4.0.jar
 ├── pom.xml
 ├── project.clj
 ├── run
 └── templates
└── default
├── LICENSE
├── project.clj
├── src
│   └── +project+
│   └── core.clj
└── test

 10 directories, 9 files

 * The ritz README talks about making sure tools.clj is in the classpath.
 However, it appears on OS X there is no tools.jar:

 tools.jar does not exist. Classes usually located here are instead
 included in classes.jar. Scripts that rely on the existence of tools.jar
 need to be rewritten accordingly. (see
 http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html
 )

 * I created a blank project with `cake new foo`
 * cd into foo
 * Ran `cake ritz` to get the error unknown task: ritz.

 I'm unsure where to go from here. How do I teach cake about the ritz task?
 Am I missing any specific steps? Is not having tools.jar available on OS X
 an issue?

 I'd be very happy to write up a Getting Started tutorial on the ritz wiki
 if I can get things working.

 Sam

 ---
 http://sam.aaron.name


 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to attach debugger on clojure's repl ?

2011-09-23 Thread Hugo Duncan

On Fri, 23 Sep 2011 08:00:36 -0400, Sam Aaron samaa...@gmail.com wrote:



On 23 Sep 2011, at 06:14, Glen Stampoultzis wrote:



Ritz looks really nice the setup seems complicated.  I haven't had much  
luck setting it up unfortunately.


Hopefully we can simplify the process. The setup hasn't been the main  
priority yet.



* Modified my global cake project.clj file to look as follows:


I've not actually tried running ritz from cake recently. Which version of  
cake?



(defproject global 0.0.0
  :description Don't rename this project, but you can change the  
version if you want.

  :dependencies [[clojure 1.3.0-RC0]]
  :dev-dependencies [[ritz 0.1.8-SNAPSHOT]])


I've also not tried running with 1.3.0-RC0.

* The ritz README talks about making sure tools.clj is in the classpath.  
However, it appears on OS X there is no tools.jar:


tools.jar doesn't exist for the mac jdk. I'll add an explicit comment to  
the readme.



* I created a blank project with `cake new foo`
* cd into foo
* Ran `cake ritz` to get the error unknown task: ritz.

I'm unsure where to go from here. How do I teach cake about the ritz  
task? Am I missing any specific steps? Is not having tools.jar available  
on OS X an issue?


I imagine this is some issue preventing the cake task from loading.  I  
believe cake logs its output somewhere - maybe you could check the cake  
logs for ritz related messages?


I'll try taking a look later today.

I'd be very happy to write up a Getting Started tutorial on the ritz  
wiki if I can get things working.


I'll gladly take you up on that :)

Hugo

--
Hugo Duncan

--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-09-23 Thread Hugo Duncan
On Fri, 23 Sep 2011 08:14:43 -0400, Scott Jaderholm jaderh...@gmail.com  
wrote:


I don't think it looks for tools.jar specifically, it probably just uses  
the
classes in there so as long as they're on the classpath you should be  
fine.
I wouldn't worry about it unless you see an error saying it can't find  
some

classes that googling reveals are in tools.jar.


Correct.


The README doesn't mention any cake plugins, that's why cake ritz isn't
working.


There is a cake task. It hasn't seen a lot of use as far as I know, but  
was working at one point. Cake has however seen a lot of instability  
recently (from my occasional usage at least). In this case I suspect 1.3  
RC0 is causing the task not to load.


If cake supports lein plugins then maybe you didn't do lein plugin  
install ritz 0.1.7.


I would recommend 0.1.8-SNAPSHOT. The main difference is in how exceptions  
are selected for breaking into the debugger, which remains the main  
sticking point for ritz development at the moment. I'm itching for a  
clojure.match release so I can use it for this. [1]



Perhaps use lein or the maven plugin instead.


The maven plugin is zi [2]

Hugo

[1] https://github.com/pallet/ritz/issues/14
[2] https://github.com/pallet/zi

--
Hugo Duncan

--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-09-23 Thread Sam Aaron

On 23 Sep 2011, at 14:24, Hugo Duncan wrote:
 
 I've not actually tried running ritz from cake recently. Which version of 
 cake?

0.6.3

 
 I've also not tried running with 1.3.0-RC0.

I get the same issue (unknown task: ritz) with Clojure 1.2.0

 
 I imagine this is some issue preventing the cake task from loading.  I 
 believe cake logs its output somewhere - maybe you could check the cake logs 
 for ritz related messages?
 

Both the local .cake/cake.log and the global ~/.cake/.cake/cake.log logs don't 
report anything from ritz when attempting to run `cake ritz`.

 I'd be very happy to write up a Getting Started tutorial on the ritz wiki 
 if I can get things working.
 
 I'll gladly take you up on that :)

It would be a pleasure :-)

Sam

---
http://sam.aaron.name

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-09-22 Thread cran1988
Thanks !! but i am not using emacs
i will watch it and i will try to integrate it on the IDEAJ

On Sep 22, 4:04 am, Scott Jaderholm jaderh...@gmail.com wrote:
 While that still works, ritz is really where it's at for awesome debugging
 clojure in emacs. It allows stepping and stuff with a nice UI.

 https://github.com/pallet/ritz

 Video (only for overview, follow instructions at url 
 above)http://www.youtube.com/watch?v=d_L51ID36w4

 One of my favorite things with it is using it with OpenJDK w/ source so I
 can go down the rabbit hole of stepping into my code, Clojure, and the JVM
 itself (just for fun, not had a need for this yet).

 Scott

 On Wed, Sep 21, 2011 at 6:01 PM, Timothy Washington twash...@gmail.comwrote:







  This guy's put together a good video on how to use debugging to swank /
  slime.

     -http://www.youtube.com/watch?v=galfpq969Hg

  Tim Washington
  twash...@gmail.com
  416.843.9060

  On Tue, Sep 20, 2011 at 10:37 AM, cran1988 rmanolis1...@hotmail.comwrote:

  I am trying to figure out how abcl does it

  On Sep 20, 12:41 pm, Herwig Hochleitner hhochleit...@gmail.com
  wrote:
   You can debug clojure code with a normal Java Debugger.
   When using Emacs, you can tryhttp://
  georgejahad.com/clojure/swank-cdt.html

   --
   __
   Herwig Hochleitner

  --
  You received this message because you are subscribed to the Google
  Groups Clojure group.
  To post to this group, send email to clojure@googlegroups.com
  Note that posts from new members are moderated - please be patient with
  your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

   --
  You received this message because you are subscribed to the Google
  Groups Clojure group.
  To post to this group, send email to clojure@googlegroups.com
  Note that posts from new members are moderated - please be patient with
  your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-09-22 Thread cran1988
However can we integrate it on the repl using
(clojure.main/repl :eval function ) ?

It is very cool debugger!!

On Sep 22, 4:04 am, Scott Jaderholm jaderh...@gmail.com wrote:
 While that still works, ritz is really where it's at for awesome debugging
 clojure in emacs. It allows stepping and stuff with a nice UI.

 https://github.com/pallet/ritz

 Video (only for overview, follow instructions at url 
 above)http://www.youtube.com/watch?v=d_L51ID36w4

 One of my favorite things with it is using it with OpenJDK w/ source so I
 can go down the rabbit hole of stepping into my code, Clojure, and the JVM
 itself (just for fun, not had a need for this yet).

 Scott

 On Wed, Sep 21, 2011 at 6:01 PM, Timothy Washington twash...@gmail.comwrote:







  This guy's put together a good video on how to use debugging to swank /
  slime.

     -http://www.youtube.com/watch?v=galfpq969Hg

  Tim Washington
  twash...@gmail.com
  416.843.9060

  On Tue, Sep 20, 2011 at 10:37 AM, cran1988 rmanolis1...@hotmail.comwrote:

  I am trying to figure out how abcl does it

  On Sep 20, 12:41 pm, Herwig Hochleitner hhochleit...@gmail.com
  wrote:
   You can debug clojure code with a normal Java Debugger.
   When using Emacs, you can tryhttp://
  georgejahad.com/clojure/swank-cdt.html

   --
   __
   Herwig Hochleitner

  --
  You received this message because you are subscribed to the Google
  Groups Clojure group.
  To post to this group, send email to clojure@googlegroups.com
  Note that posts from new members are moderated - please be patient with
  your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

   --
  You received this message because you are subscribed to the Google
  Groups Clojure group.
  To post to this group, send email to clojure@googlegroups.com
  Note that posts from new members are moderated - please be patient with
  your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-09-22 Thread Timothy Washington
Np, I hope it helps. I'm an avid vim user. But I'm trying out emacs just to
get this debugging feature in slime/swank. It's one of those tools that will
keep rewarding you 10 years on.

Let me know how you fare.

Tim


On Thu, Sep 22, 2011 at 7:56 AM, cran1988 rmanolis1...@hotmail.com wrote:

 However can we integrate it on the repl using
 (clojure.main/repl :eval function ) ?

 It is very cool debugger!!

 On Sep 22, 4:04 am, Scott Jaderholm jaderh...@gmail.com wrote:
  While that still works, ritz is really where it's at for awesome
 debugging
  clojure in emacs. It allows stepping and stuff with a nice UI.
 
  https://github.com/pallet/ritz
 
  Video (only for overview, follow instructions at url above)
 http://www.youtube.com/watch?v=d_L51ID36w4
 
  One of my favorite things with it is using it with OpenJDK w/ source so I
  can go down the rabbit hole of stepping into my code, Clojure, and the
 JVM
  itself (just for fun, not had a need for this yet).
 
  Scott
 
  On Wed, Sep 21, 2011 at 6:01 PM, Timothy Washington twash...@gmail.com
 wrote:
 
 
 
 
 
 
 
   This guy's put together a good video on how to use debugging to swank /
   slime.
 
  -http://www.youtube.com/watch?v=galfpq969Hg
 
   Tim Washington
   twash...@gmail.com
   416.843.9060
 
   On Tue, Sep 20, 2011 at 10:37 AM, cran1988 rmanolis1...@hotmail.com
 wrote:
 
   I am trying to figure out how abcl does it
 
   On Sep 20, 12:41 pm, Herwig Hochleitner hhochleit...@gmail.com
   wrote:
You can debug clojure code with a normal Java Debugger.
When using Emacs, you can tryhttp://
   georgejahad.com/clojure/swank-cdt.html
 
--
__
Herwig Hochleitner
 
   --
   You received this message because you are subscribed to the Google
   Groups Clojure group.
   To post to this group, send email to clojure@googlegroups.com
   Note that posts from new members are moderated - please be patient
 with
   your first post.
   To unsubscribe from this group, send email to
   clojure+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/clojure?hl=en
 
--
   You received this message because you are subscribed to the Google
   Groups Clojure group.
   To post to this group, send email to clojure@googlegroups.com
   Note that posts from new members are moderated - please be patient with
   your first post.
   To unsubscribe from this group, send email to
   clojure+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/clojure?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to attach debugger on clojure's repl ?

2011-09-22 Thread Glen Stampoultzis
On 22 September 2011 11:04, Scott Jaderholm jaderh...@gmail.com wrote:

 While that still works, ritz is really where it's at for awesome debugging
 clojure in emacs. It allows stepping and stuff with a nice UI.

 https://github.com/pallet/ritz

 Video (only for overview, follow instructions at url above)
 http://www.youtube.com/watch?v=d_L51ID36w4

 One of my favorite things with it is using it with OpenJDK w/ source so I
 can go down the rabbit hole of stepping into my code, Clojure, and the JVM
 itself (just for fun, not had a need for this yet).

 Scott


Ritz looks really nice the setup seems complicated.  I haven't had much luck
setting it up unfortunately.

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to attach debugger on clojure's repl ?

2011-09-21 Thread Timothy Washington
This guy's put together a good video on how to use debugging to swank /
slime.

   - http://www.youtube.com/watch?v=galfpq969Hg


Tim Washington
twash...@gmail.com
416.843.9060



On Tue, Sep 20, 2011 at 10:37 AM, cran1988 rmanolis1...@hotmail.com wrote:

 I am trying to figure out how abcl does it

 On Sep 20, 12:41 pm, Herwig Hochleitner hhochleit...@gmail.com
 wrote:
  You can debug clojure code with a normal Java Debugger.
  When using Emacs, you can tryhttp://
 georgejahad.com/clojure/swank-cdt.html
 
  --
  __
  Herwig Hochleitner

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to attach debugger on clojure's repl ?

2011-09-21 Thread Scott Jaderholm
While that still works, ritz is really where it's at for awesome debugging
clojure in emacs. It allows stepping and stuff with a nice UI.

https://github.com/pallet/ritz

Video (only for overview, follow instructions at url above)
http://www.youtube.com/watch?v=d_L51ID36w4

One of my favorite things with it is using it with OpenJDK w/ source so I
can go down the rabbit hole of stepping into my code, Clojure, and the JVM
itself (just for fun, not had a need for this yet).

Scott


On Wed, Sep 21, 2011 at 6:01 PM, Timothy Washington twash...@gmail.comwrote:

 This guy's put together a good video on how to use debugging to swank /
 slime.

- http://www.youtube.com/watch?v=galfpq969Hg


 Tim Washington
 twash...@gmail.com
 416.843.9060



 On Tue, Sep 20, 2011 at 10:37 AM, cran1988 rmanolis1...@hotmail.comwrote:

 I am trying to figure out how abcl does it

 On Sep 20, 12:41 pm, Herwig Hochleitner hhochleit...@gmail.com
 wrote:
  You can debug clojure code with a normal Java Debugger.
  When using Emacs, you can tryhttp://
 georgejahad.com/clojure/swank-cdt.html
 
  --
  __
  Herwig Hochleitner

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to attach debugger on clojure's repl ?

2011-09-20 Thread jaime
I'm also looking forward the same thing..

On Sep 20, 12:24 am, cran1988 rmanolis1...@hotmail.com wrote:
 I am looking forward for a debugger like in CLISP , SBCL etc..
 Is there any solution out there ?
 Are you going to develop such a tool and you need help ?

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How to attach debugger on clojure's repl ?

2011-09-20 Thread Herwig Hochleitner
You can debug clojure code with a normal Java Debugger.
When using Emacs, you can try http://georgejahad.com/clojure/swank-cdt.html



-- 
__
Herwig Hochleitner

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How to attach debugger on clojure's repl ?

2011-09-20 Thread cran1988
I am trying to figure out how abcl does it

On Sep 20, 12:41 pm, Herwig Hochleitner hhochleit...@gmail.com
wrote:
 You can debug clojure code with a normal Java Debugger.
 When using Emacs, you can tryhttp://georgejahad.com/clojure/swank-cdt.html

 --
 __
 Herwig Hochleitner

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


How to attach debugger on clojure's repl ?

2011-09-19 Thread cran1988
I am looking forward for a debugger like in CLISP , SBCL etc..
Is there any solution out there ?
Are you going to develop such a tool and you need help ?

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en