User forums > Using Code::Blocks

Installing libraries from VC++ 6.0

<< < (3/4) > >>

MortenMacFly:

--- Code: ---[quote author=lfm link=topic=3487.msg27418#msg27418 date=1152178306]
[code]-nx -fullname  -quiet -args
--- End code ---
[/quote]
Hehe... looks like the debugger gets passed the arguments for GDB...
I guess it has to do because the compiler id isnt mscvtk anymore... mandrav?! ;-)[/code]

lfm:

--- Quote from: MortenMacFly on July 06, 2006, 11:38:32 am ---Hehe... looks like the debugger gets passed the arguments for GDB...
I guess it has to do because the compiler id isnt mscvtk anymore... mandrav?! ;-)

--- End quote ---
This is my reference too:http://wiki.codeblocks.org/index.php?title=Integrating_Microsoft_Visual_C_6_with_Code::Blocks_IDE
I open the default.conf, find this compiler id is "microsoft_visual_c_6".

mandrav:

--- Quote from: MortenMacFly on July 06, 2006, 11:38:32 am ---Hehe... looks like the debugger gets passed the arguments for GDB...
I guess it has to do because the compiler id isnt mscvtk anymore... mandrav?! ;-)

--- End quote ---

Right. I 've been meaning to make it smarter than that but I didn't have the time yet. Will try to look into it today.

Alturin:
Would it be possible to, say, use the GDB debugger along with the other VC++ 6.0 stuff, instead of the not working cdb.exe?

MortenMacFly:

--- Quote from: Alturin on July 06, 2006, 12:26:42 pm ---Would it be possible to, say, use the GDB debugger along with the other VC++ 6.0 stuff, instead of the not working cdb.exe?

--- End quote ---
Hard to say, but I guess there is a reason for why using a debugger optimised for a specific compiler. Currently the only reason why thi is not working is because the compiler id is set to seomething else than "msvctk" if you add the MSVC6 stuff... you could probably patch C::B yourself in the meantime to fix this.
The methoid is in debuggerstate.cpp, called: DebuggerState::StartDriver.
You would have to change the code into something:

--- Code: ---    if ((idx == _T("msvctk")) || (idx == _T("microsoft_visual_c_6")))
        m_pDriver = new CDB_driver(m_pPlugin);
    else
        m_pDriver = new GDB_driver(m_pPlugin);

--- End code ---
Anyway, this is just a workaround, as mandrav said already.
With regards, Morten.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version