setting break points at multimethods in cdt

12 views
Skip to first unread message

Sunil S Nandihalli

unread,
Apr 26, 2011, 11:51:09 AM4/26/11
to clo...@googlegroups.com
Hello everybody,
I am unable to set break points at multimethods using set-bp ..( I am able to set break points for other functions.. though) .. can somebody tell me how to do this? I am using swank-cdt integration. It works very nicely otherwise.
Thanks,
Sunil.

George Jahad

unread,
Apr 26, 2011, 2:00:56 PM4/26/11
to Clojure
so cdt supports two kinds of breakpoints, method breakpoints, (with
the set-bp function) and line breakpoints, (with the ^c^x^b,)
keystroke in emacs.

You are corrrect that the set-bp function doesn't work properly with
multi-methods, but line breakpoints should be working. Are they?


On Apr 26, 8:51 am, Sunil S Nandihalli <sunil.nandiha...@gmail.com>
wrote:

Sunil S Nandihalli

unread,
Apr 26, 2011, 7:41:10 PM4/26/11
to clo...@googlegroups.com
thanks George for your reply.
for some reason C-c C-x C-b key stroke does not seem to be bound .. however, I don't mind typing the command at the repl. But, I don't seem to get the path right? .. should the path be absolute or should it be relative to the directory where the project.clj resides..? can you elaborate on that.

Sunil.

p.s. what should I be doing to get the keystrokes working? 

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

George Jahad

unread,
Apr 26, 2011, 11:27:50 PM4/26/11
to Clojure
see if the elisp exists, like so:
M-x describe-function
sldb-line-bp

see if the keymap exists like so:
M-x describe-value
cdt-map

if they do, go to a java file higher up in the stack trace, and see if
^c^x^b works there.

if not, try running this from the slime-repl:
(swank.core.cdt-utils/init-emacs-helper-functions)

and checking the above tests again.

Let me know how it goes.



On Apr 26, 4:41 pm, Sunil S Nandihalli <sunil.nandiha...@gmail.com>
wrote:
> thanks George for your reply.
> for some reason C-c C-x C-b key stroke does not seem to be bound .. however,
> I don't mind typing the command at the repl. But, I don't seem to get the
> path right? .. should the path be absolute or should it be relative to the
> directory where the project.clj resides..? can you elaborate on that.
>
> Sunil.
>
> p.s. what should I be doing to get the keystrokes working?
>
> On Tue, Apr 26, 2011 at 11:30 PM, George Jahad <cloj...@blackbirdsystems.net
Reply all
Reply to author
Forward
0 new messages