User development,

A new message was posted in the thread "Adding JBoss AS source to a project":

http://community.jboss.org/message/520146#520146

Author  : Denis Golovin
Profile : http://community.jboss.org/people/dgolovin

Message:
--------------------------------------------------------------
First approach I suggested above is for browsing sources in jars inside JBoss 
AS Classpath Container. I found better way to configure sources lookup for 
server during debug session:
1. Create JBoss AS Runtime and Server
2. Deploy your application on that server
3. Create breakpoint somewhere inside your code that is going to be called by 
JBoss AS
4. Start server from step 3 in Debug mode
5. Open Debug View and invoke "Edit Source Lookup Path" dialog for server 
through "Edit Source Lookup..." Item in popup menu
http://community.jboss.org/servlet/JiveServlet/showImage/1785/jbossas-source-lookup.png
In opened Dialog (see image below) press "Add" button
http://community.jboss.org/servlet/JiveServlet/showImage/1786/jbossas-source-lookup-config.png
 Then select File System Directory type and press Ok.
http://community.jboss.org/servlet/JiveServlet/showImage/1787/jbossas-source-lookup-add.png
Point to root folder for JBoss AS sources and Do not forget to select "Search 
subfolders"
http://community.jboss.org/servlet/JiveServlet/showImage/1788/jbossas-source-lookup-add-lfs.png
Finish all opened fialog by pressing "Ok"
6. Try to open your application in browse.
7. When you make got to breakpoint eclipse will be able to search JBoss AS 
sources in path you configured on step 5.

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/520146#520146


_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to