Has anyone done this before? Googled debug Q3 in Visual Studio, and I only find threads about setting the compiler to Release so that it can compile in the first place.
I can compile the debug configuration fine, but I'm not sure where exactly to put the files so that when I run the exe I can attach properly. VS keeps trying to run Splines.lib, and I am not sure how to disable that portion of the solution so that it doesn't get debugged, and only parts like Quake3, Game, and Cgame get debugged. Would that even work? Does that even make sense?
Set up Q3A GPL so that it can be debugged in VS 2010 Express
Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
Sorry, I use ioQuake3, I work with notepad++ and I use the minGW technique to get it compiled ... and I never tried the 'debug' build parameter ...
[url=http://www.dmitri-engman.fr/]My blog[/url] - [url=http://dmeat.free.fr/book/]My portfolio[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
-
- Posts: 6
- Joined: Fri Jan 28, 2011 4:22 pm
Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
Just guessing but I think you need to remove it from the quake 3 project references


Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
also make sure those splines are reticulated.
Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
People under 25 years old won't understand that joke.
Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
lol, and while I was typing that my 26 year old colleague was watching over my shoulder and asking why I was Googling SimCity's releasedate 

Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
that makes me feel both old and special.
Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
I haven't looked at it in a while, since I've been busy.
Just now. I right clicked Set Startup Projects, and changed it to quake3 from splines, then unloaded splines and ui.
After that, i set the Output in the Linker option to c:\quake3\quake3.exe,
then changed the Config Props > debugging folder and file options to point there.
Also changed the pdb and map files to to drop there, too.
obj files end up there as well.
So there's a ton of stuff in the main q3a folder. I'm wondering if this is all correct, but the debugger wouldn't load up a compile Q3 without the exe and pdb there. Aren't objs used in debugging as well?
I know it probably sounds amateurish, but I just don't think I'm going to get through implementing what I'm trying to do without being able to debug. Basically, I'm trying to do something similar to what D-Meat was trying to with the 6dof movement. Been wanting to do something like that since I made a similar mod for QuakeWars.
So does that all sound correct? Any suggestions?
Just now. I right clicked Set Startup Projects, and changed it to quake3 from splines, then unloaded splines and ui.
After that, i set the Output in the Linker option to c:\quake3\quake3.exe,
then changed the Config Props > debugging folder and file options to point there.
Also changed the pdb and map files to to drop there, too.
obj files end up there as well.
So there's a ton of stuff in the main q3a folder. I'm wondering if this is all correct, but the debugger wouldn't load up a compile Q3 without the exe and pdb there. Aren't objs used in debugging as well?
I know it probably sounds amateurish, but I just don't think I'm going to get through implementing what I'm trying to do without being able to debug. Basically, I'm trying to do something similar to what D-Meat was trying to with the 6dof movement. Been wanting to do something like that since I made a similar mod for QuakeWars.
So does that all sound correct? Any suggestions?
Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
Strange thing going on.
So ignore that. I've discovered something more important. I restarted with a fresh install of the game and source, the compiled .exe upgrades my 1.32 to 1.32b, but afterwards it always crashes. What's going on?
http://i.imgur.com/gissifj.jpg
asked my friend google what "int VM_CallCompiled(vm_t *vm, int *args)" meant and I found the problem.
:> Just had to add sv_pure 0 and set all the /vm commands to 0 in the argument line.
So ignore that. I've discovered something more important. I restarted with a fresh install of the game and source, the compiled .exe upgrades my 1.32 to 1.32b, but afterwards it always crashes. What's going on?
http://i.imgur.com/gissifj.jpg
asked my friend google what "int VM_CallCompiled(vm_t *vm, int *args)" meant and I found the problem.
:> Just had to add sv_pure 0 and set all the /vm commands to 0 in the argument line.
-
- Posts: 449
- Joined: Sat Nov 06, 2010 2:33 am
Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
Which argument line? If these are left undefined I thought they have default values they fall back to?Ganemi wrote: :> Just had to add sv_pure 0 and set all the /vm commands to 0 in the argument line.
-
- Posts: 199
- Joined: Sun Dec 06, 2015 3:38 am
Re: Set up Q3A GPL so that it can be debugged in VS 2010 Express
1.32b works fine on my end with the VMs...