Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

C::B freezes completely with macros in tools menu (?)

(1/2) > >>

MortenMacFly:
What I did: I've added 2 tools to the "Tools" menu: SciTE and Windows Notepad. I've setup the tools to apply the ${ACTIVE_EDITOR_FILENAME} "macro" as parameter and to be launched in the ${PROJECT_DIR}. Whenever I have a file opened and try to run one of these tools C::B freezes completely and uses 100% CPU and I have to kill C::B with the task-manager. I did this before (last year...) and it was working properly for ages. I don't know if and when this got broken or whether it is a problem of my fresh intallation. Coudl someone verify, please?
Morten.
Edit: WinXP, C::B revision 1767 (and a few before), wxWidgets 2.6.2 (unicode).

killerbot:
idea : write a little program that dumps it's command line arguments, to see what comes in.
Maybe quotes issues, or unicode issues ??

[edit] : and use that program as the tool

thomas:
It seems to happen with any kind of variable in any of the tool config dialog's field, not just the two you tried.
So far, no idea why, though.

MortenMacFly:
Good idea! But: I tried, but it's not the tool that is the reason. The tool doesn't even gets launched (I verified using sysinternals filemon)...
So I think it must be before the call inside C::B. Could you try to add Notepad yourself? Does it work for you? Thanks, Morten.

MortenMacFly:

--- Quote from: thomas on January 16, 2006, 02:35:40 pm ---So far, no idea why, though.

--- End quote ---
Ooops, we were both writing at the same time. So ignore my message before... Morten.

Navigation

[0] Message Index

[#] Next page

Go to full version