Re: How to run java.exe in Visual Studio

2010-06-22 Thread Pete Brunet
I was able to debug by first starting SwingSet2 and then attaching to it. Pete Brunet wrote: > The command line below is wrong. It should have been a little further > into the directory tree: > C:\OpenJDK-b96m\jdk7\build\windows-i586-fastdebug\j2sdk-image\bin\java > -jar "C:\Program Files\Java\jdk

Re: How to run java.exe in Visual Studio

2010-06-18 Thread Pete Brunet
The command line below is wrong. It should have been a little further into the directory tree: C:\OpenJDK-b96m\jdk7\build\windows-i586-fastdebug\j2sdk-image\bin\java -jar "C:\Program Files\Java\jdk1.6.0_20\demo\jfc\SwingSet2\SwingSet2.jar" but that doesn't seem to matter, i.e. no problems from the

Re: How to run java.exe in Visual Studio

2010-06-17 Thread Pete Brunet
Thanks Andrei, That was one of the various configurations I tried. java.exe runs for a while and then crashes. I see the splash screen for a while but never the main app. Below is some info at the time of the crash. Is there a way to generate a console log when running outside of VS. It might

Re: How to run java.exe in Visual Studio

2010-06-16 Thread Andrei V. Dmitriev
Hi Pete, don't remember for sure and don't have VS offhand to experiment but basically I've made a new project and in the debug properties window (that might be common for most VS versions, mine is VS2003) entered the full-path to java.exe and also supplied it with arguments (next textfield).

Re: How to run java.exe in Visual Studio

2010-06-16 Thread Pete Brunet
In case it's useful info, so far I tried the second option "To import an executable into a Visual Studio solution" here: http://msdn.microsoft.com/en-us/library/0bxe8ytt.aspx but it crashes. Pete === Lussier, Denis wrote: > I am very interested in this and NO I haven't figured it out yet. I >

Re: How to run java.exe in Visual Studio

2010-06-16 Thread Lussier, Denis
I am very interested in this and NO I haven't figured it out yet. I presently build a publically available OpenJDK 6 Win32 installer. I'd love to be able to do a little basic debugging/investigation of a few issues I see when running Eclipse. --Denis Lussier http://openscg.org On 6/16/10, Pe

Re: How to run java.exe in Visual Studio

2010-06-16 Thread Phil Race
You may be better off posting to the awt-dev list as this doesn't sound like a build issue, and AWT developers spend more time being cosy with the VS debugger. -phil. On 6/16/2010 12:39 PM, Pete Brunet wrote: My prior post is what I did when VS was activated due to a crash. Now that I'm not cr

Re: How to run java.exe in Visual Studio

2010-06-16 Thread Pete Brunet
My prior post is what I did when VS was activated due to a crash. Now that I'm not crashing I'd still like to use the debugger to set breakpoints and step through the OpenJDK source. Has anyone documented how to set up an OpenJDK VS project? I'd like VS to be aware of all the OpenJDK source and

Re: How to run java.exe in Visual Studio

2010-06-15 Thread Pete Brunet
VS 2010 let me create a "solution" out of the debug session that I was in when the DASSERT I was encountering caused a breakpoint. So now I can set breakpoints and step around in the code. I had to add a -jar "blah.jar" to the argument field. Pete Brunet wrote: > How do I start java.exe in Visua