![]() |
Re: comments on eclipse
Well then better debug it with MSVC++ 2005. :)
|
Re: comments on eclipse
Quote:
|
Re: comments on eclipse
Sorry I were forgot about that you don't have MSVC++ 2005 on the work PC.:( So I don't think that any GNU debugger have option to attach to proccess when the process is already running, you need to start CS with the debuger. I don't know how is the UI of Code::Blocks but maybe it have something like Debug menu with option to start an executable file. To debug CS in that way you must create file SteamApp.cfg in to the
Steam\SteamApps\account_name\counter-strike\ folder. The File must looks like that: Quote:
After that make SteamAppUser to point steam user name. Then start Steam and leave it to run on background, then force the debugger to run the hl.exe in to the \counter-strike\ folder with this command line hl.exe -steam -game cstrike else if you debug Dedicated server you must change the paths in to the debugger to point hlds.exe and you must add this command line hlds.exe -steam -console -game cstrike -maxplayers 20 +map de_dust2 (you can change the map and the maxplayers values) Set the work dir in to the debugger(if have such option) to point the folder that hl.exe is located. Now start debugging with Code::Blocks option(it must have such option) and all will be fine. :) |
Re: comments on eclipse
well in my installed copy of Code::Blocks I can just use Debug->Attach to Process... and then input the PID to attach to a process. But I'm on GNU/Linux, not sure about Windows (maybe try ctrl+alt+del to get the PID?).
As for the debugging information, it really should be okay. It may be the bugs of Dr. MinGW. Try the command line version of GDB and see if it's working. |
Re: comments on eclipse
Quote:
Quote:
I just changed ggdb3 to ggdb2 and here is the result: Quote:
|
Re: comments on eclipse
Since my new job i work with Ecplise every day. I must say , the Gui is impressive and you can code a lot faster.
About Java being bloated. Its not actually bloated, it just forces you to code some stuff more into classes. Last but not least, i am getting a course to become a Java Certified Programmer. I've seen the books, will be quite tough for someone who only coded as a hobby (compared to those guys who have done it for years)...but i will manage. Btw: Java being slow? With the JIT Compilation it is as fast as C i've been told. |
Re: comments on eclipse
well a simple Hello World program in Java takes 7-8 seconds to load in my old computer...
|
Re: comments on eclipse
New computer, new software, loaded up eclipse again (win32 version) and if I ever do java programming again, that will most definitely be what I use. As for c++, I'm still officially a student and the uni I'm at has an msdn "thingy" so I've got Visual Studio 2005 Professional Ed. And while I'm no microsoft fan, credit where credit is due, it's quite nice.
|
Re: comments on eclipse
The only drawback i have seen so far, is that java programs take longer to load. Due the VM thats being loaded, the JIT compiler being run. Etc. But in the end, its not that slow.
|
Re: comments on eclipse
Jup, the only problem with java is the startup time of the vm and the memory usage is higher than for other languages. But the api and the language are ways more intuitive than c++ and you have more libs and need less effort to install them. i never want to write a business app in c++ if there is an option to do it in java.
c# is pretty the same than java is, but there are still not enough libs and the namespace design is a little bit strange. anyways i would prefer it to c++. Eclipse is a very good ide for java (while still intellij idea is the best). the cdt lacks a lot of features the jdt has, but the jdt features are harder to implement for c++, because the languages is too big. so this features maybe never find a way into the cdt. i worked with msvc too and i had to say that i like the eclipse way much more than the msvc way. then only thing missing in the cdt is a good c++ debugger like msvc has. currently i am using the cdt with cygwin and i am satisfied. |
All times are GMT +2. The time now is 15:13. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.