Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Frame issue with the debugger plugin

<< < (10/14) > >>

MortenMacFly:

--- Quote from: oBFusCATed on October 04, 2015, 11:14:40 am ---If you give me a link to it, I can start using it. Otherwise I'll just give you links to a branch on github next time.

--- End quote ---
Its somewhere in the forums or at Jens' homepage? I don't recall as I don't use it. I thought you would remember as we had that topic the one or other time already.

But nevermind - the new patches work fine. I guess I have to apply only one, so I took the second and will try what happens (although debugging wxWidgets apps using C::B is currently heavily broken with recent TDM release).

Do you have a particular test case to try on Windows? Or should I just debug "anything"?

oBFusCATed:
"Debug anything" should probably be enough.  8)

MortenMacFly:

--- Quote from: scarphin on October 04, 2015, 09:58:02 am ---I attached svn compatible (whatever) versions. I think the problem is with the lines:

--- Code: ---@@ -123,7 +124,7 @@ class DLLIMPORT cbStackFrame
--- End code ---
where the svn (whatever) generated version is like:

--- Code: ---@@ -123,7 +124,7 @@
--- End code ---
This seems to be some kind of a setting problem and is NOT related to my patching utility.

--- End quote ---
This was one issue and the second one (more bad) was that the line(s) like:
+++ src/include/cbdebugger_interfaces.h    (working copy)
...contained tabulator(s) after the file name which is invalid and makes SVN look for a file named "src/include/cbdebugger_interfaces.h    (working copy)" which obviously does not exist.

BTW: I am using "svn patch foo.patch" on the command line (svn version 1.9.1). So it maybe a SVN issue after all...

oBFusCATed:

--- Quote from: MortenMacFly on October 04, 2015, 08:03:44 pm ---BTW: I am using "svn patch foo.patch" on the command line (svn version 1.9.1). So it maybe a SVN issue after all...

--- End quote ---
Interesting,  so there is a patch command in svn.
Can you contact svn support to see what they have to say about this problem?
Last time I've tried to apply patches generated by my script using the standalone patch tool on linux it worked without errors.

MortenMacFly:

--- Quote from: oBFusCATed on October 04, 2015, 08:14:49 pm ---Can you contact svn support to see what they have to say about this problem?

--- End quote ---
I got an answer:
The error is on your side: In the original patch there were spaces between the file name and the revision. There should have been a tab as you cannot differ between a file name that ends with a space (which is possible, indeed) and a separator.

So, this is wrong:
+++ src/include/cbdebugger_interfaces.h[1..n space](working copy)
...this is right:
+++ src/include/cbdebugger_interfaces.h[1..n TAB](working copy)
And indeed: With that minor modification the original patch applied safely.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version