User forums > Help

C::B & Uniwin

<< < (5/6) > >>

MortenMacFly:

--- Quote from: mandrav on December 06, 2006, 01:57:26 pm ---I have updated C::B to work with compilers that expect forward slashes as path separators so it is now much easier to setup Uniwin with C::B.

--- End quote ---
That is sooooo great! :D I struggled around with the setup but actually were facing exactly this problem. I was wondering anyway how somebody already could use uniwin...?! Nice stuff... will try immediately because this could be really of help at work...
With regards, Morten.

mandrav:
Another update, regarding debugging through Uniwin.

The good news is that it works :).
The bad news is that a small patch is needed for Uniwin's proxy gdb.exe.
Attached to this message you can find the patched gdb.exe which you should copy in Uniwin's folder, replacing the existing one. And you also need C::B revision 3350 and up ;).

[attachment deleted by admin]

wbest116:
Thanks for update about forward slashes, but I have confused yet because of mismatch of correted file.

For example...

If I modify a file "test.cpp" and save modified file in C::B then "test.cpp" is removed in linux because I set Uniwin's option "Operations on deleting" to "always deleted".

but "not delete" option gives occation to remain "test.cpp.backup" in linux and "test.cpp" does not exist.

Here is the Uniwin's log:
  File Name Changed:C:/work/test.cpp to: C:/work/test.cpp.backup
    => mv /home/test.cpp /home/test.cpp.backup
  File Name Changed:C:/work/test.cpp.cbTemp to: C:/work/test.cpp
    => mv /home/test.cpp.cbTemp /home/test.cpp
  local: C:/work/test.cpp
            ==>  remote:  /home/test.cpp
  File Removed: C:/work/test.cpp.backup
            ==> rm -fr /home/test.cpp.backup

Here is the Linux's .bash_history:
  mv "/home/test.cpp" "/home/test.cpp.backup"
  mv "/home/test.cpp.cbTemp" "/home/test.cpp"

More confused is mismatch result with two logs.

It is not for use gdb.exe just for modify a file which does not pass by compile course.

Thanks.

tfoell:
I will use uniwin for a new project.
CodeBlocks run under winxp and i will debug/compile on a ubuntu machine.
1. Uniwin is running ! Test button for ssh and sftp is working.
2. But if i change a file on the winxp via CodeBlocks this file is renamed on the remote ubuntu from main.c to main.c.backup ???????
If i use Visual Studion instead of CodeBlocks it seem to work !

But i will use CodeBlocks !
Any Idea ?

3. Is there another way to do remote debugging ?

tobias

seanhoo:

--- Quote from: tfoell on March 17, 2008, 10:36:20 am ---I will use uniwin for a new project.
CodeBlocks run under winxp and i will debug/compile on a ubuntu machine.
1. Uniwin is running ! Test button for ssh and sftp is working.
2. But if i change a file on the winxp via CodeBlocks this file is renamed on the remote ubuntu from main.c to main.c.backup ???????
If i use Visual Studion instead of CodeBlocks it seem to work !

But i will use CodeBlocks !
Any Idea ?

3. Is there another way to do remote debugging ?


tobias


--- End quote ---


no answer YET?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version