suy...@cse.iitm.ac.in wrote on 03/17/2014 11:50:56 AM:
>
> I believe this question might seem naive but I am a bit stuck in my
> tryst to find a solution. I am quite familiar with eclipse and also
> debugging a code with it. Currently I am trying to modify the X10
> compiler for my work. I wished to know can we debug the compiler
> through eclipse itself. Whenever I try to debug it with setting
> appropriate breakpoints (using the Main class) it throws following
> error -- Extension polyglot.frontend.JLExtensionInfo not found:
> could not find class polyglot.frontend.JLExtensionInfo --.
>
> Is my way of debugging the "compiler" correct and if no then how can
> I solve this issue.
>

Hi,

        In x10.dist/.launchConfigs there are a couple of Eclipse launch
configurations that can help with this.  In particular x10c.launch and
x10cpp.launch.   If you import the various x10 projects (x10.dist,
x10.compiler, x10.runtime, etc) into your Eclipse workspace as projects, it
should be the case that the x10c and x10cpp launch configurations
automatically get added to your Eclipse debug/run menus.

        If for some reason this isn't working, then take a look at the
contents of the launch files to see the classpath and other properties
being set by the launch config and manually replicate them.

--dave
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to