For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 2 voices, and was last updated 17 years, 11 months ago by
Loyal Water.
-
AuthorPosts
-
lrajendranMemberWhen my breakpoint is hit during run time, I cant see the actual variables from my java files under variables list, I only see this, arg1, arg2 etc. I’m using tomcat as webserver and I checked the jdk that it runs and the the jdk used by eclipse to build the files..those are the same version jdk 1.5_11
I can see the variables when i hit a breakpoint in my JSPfiles , but not in java. How do i resolve this issue? Thanks in advance for the help.
-LR
September 24, 2008 at 11:37 am #289315
Loyal WaterMemberLR,
I would like you to try something out:-
1. Create a new Java Project.
2. Add a new class file to this project called TestClass with a main method.
3. Paste the following code in your class:-public class TestClass { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int i=0; i=i+i; i=i++; i++; System.out.println(i); } }4. Add a break point to the line where the variable i has been declared (int i=0;)
5. Right click on your TestClass and go to Debug As > Java Application.
6. Switch to the debug perspective and check if i shows up under the Variable Window.Incase i doesn’t show up, please go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
September 24, 2008 at 11:54 am #289316
lrajendranMemberNipun,
I tried that and when it hit the breakpoint, I can see the variable i in the list, but the same is not happening for my other projects, any idea why this is happening?
Here is the installation details:
*** Date:
Wednesday, September 24, 2008 12:54:34 PM EDT** System properties:
OS=Windows2003
OS version=5.2
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.1 GA
Build id: 20070521-5.5.1-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files (x86)\MyEclipse 5.5.1 GA\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
1380_f4
-vm
C:\Program Files (x86)\MyEclipse 5.5.1 GA\jre\bin\javaw.exe-LR
September 25, 2008 at 2:33 pm #289384
Loyal WaterMemberI hope the project has not gone corrupt. You can try using the -clean command to try and fix this issue but incase that doesn’t help, you might have to create a new project and transfer your code to the new project to continue working.
https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/September 26, 2008 at 12:13 am #289404
lrajendranMemberNipun,
I used the -clean command and that fixed the issue. Thanks for your time.
-LR
September 26, 2008 at 2:09 pm #289445
Loyal WaterMemberGlad you got it to work. Thanks for letting me know.
-
AuthorPosts
