Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Green::horn on September 25, 2008, 04:01:37 am

Title: using gdb on Windoze don't work ...
Post by: Green::horn on September 25, 2008, 04:01:37 am
Moin,

I try to use the MinGW Debugger, but it never works, I always get error 193.

Maybe the path is  not valid, because of the whitespace in it ...

Please, can somebody help me to fix the problem ?

Output:
Code
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: D:\Eigene Dateien\Code Blocks\Test\
Adding source dir: D:\Eigene Dateien\Code Blocks\Test\
Adding file: bin\Debug\Test.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.3
Error creating process D:\Eigene Dateien\Code Blocks\Test/bin/Debug/Test.exe, (error 193)

Thanks to anyone.


Greetz
Greenhorn
Title: Re: using gdb on Windoze don't work ...
Post by: Jenna on September 25, 2008, 07:25:59 am
Have you tried to use a project-path without spaces ?

A quick googling showed me some threads where spaces in the absolute path caused this error.
Title: Re: using gdb on Windoze don't work ...
Post by: Green::horn on September 25, 2008, 03:34:38 pm
Hi Jens,

yes you're right, that's the Problem, thanks.

Is this a bug in GDB or is it a fault of CodeBlocks ?
I can't imagine that GDB can NOT handle directory pathes with whitespaces ...

Hmmm, how ever, I'll change my Projects folder to a non-whitespaced one.

Thank you very much for your help, Jens !


Greetz
Greenhorn