Breakpoints view doesn't show source code path

1 view
Skip to first unread message

Richard Davies

unread,
Mar 19, 2009, 12:25:31 PM3/19/09
to FusionDebug
My breakpoints view panel no longer shows the path to the file on the
server. It used to list each breakpoint like:

filename.cfm [line: 10] [c:\inetpub\wwwroot\filename.cfm]

But now it just shows:

filename.cfm [line: 10]

The breakpoints still work, but I can't figure out why the paths
disappeared. We recently moved to a new development server, so that
may have something to do with it. If anyone has any ideas, please let
me know. Thank you.

Darren Pywell [FusionDebug Team]

unread,
Mar 26, 2009, 9:06:08 PM3/26/09
to FusionDebug
Hi Richard,

Breakpoints in Eclipse are actually associated to plugins (like
FusionDebug). When you set a breakpoint then the breakpoint is created
along with the id of the plugin that created it. In the case of a
FusionDebug plugin we record some extra information (such as the
source code path) on the breakpoint that we can use during debugging.

It's possible however to create a breakpoint inside your CFML code
which is associated to a plugin other than FD. This tends to happen
because Eclipse can only associate one plugin to a command (Toggle
Line Breakpoint) that a key stroke (e.g. CTRL-SHIFT-B) represents.
This means that when multiple plugins register themselves for a given
keystroke Eclipse tends to pick the last plugin installed that is
associated to a given keystroke and file extension as the one that
will be used to create the breakpoint.

FusionDebug is very clever here and although the breakpoint isn't
associated to it, it still honors the breakpoint if it is connected
and debugging. This means that the breakpoint still fires but we don't
get to output the extra information.

There are a couple of things you can do about this:

1. On the right mouse click menu in the editor we've added a Menu item
called Toggle Line Breakpoint with a little red bug by the side of it.
This menu item always creates an FD breakpoint
2. You can find the other plugin that is "stealing" the breakpoints
from FD and uninstall it if you don't use it

Hope that helps,
Darren

Richard Davies

unread,
Mar 27, 2009, 12:34:36 PM3/27/09
to FusionDebug
Thanks for this great explanation. I was able to fix the problem. I
think it was related to the ColdFusion 8 Extensions for Eclipse plugin
which contains the plugin for the debugger included with ColdFusion 8.
I disabled this plugin in Eclipse (Help -> Software Updates -> Manage
Configuration) and now FusionDebug is the default debugger and I'm
seeing the server file in the breakpoint view.

Thanks again!

On Mar 26, 6:06 pm, "Darren Pywell [FusionDebug Team]"
Reply all
Reply to author
Forward
0 new messages