Page 3 of 8

Re: Editor

PostPosted: Tue Mar 15, 2011 3:52 pm
by Charles
Cool. I myself don't write WinForms apps anymore. I typically do web and occasionally WPF.

I'm most interested in coding, navigation, debugging and all conveniences surrounding them. I look forward to taking Naja for a test drive in the future.

Re: Editor

PostPosted: Tue Mar 15, 2011 4:56 pm
by torial
Have you played around to see if Cobra works w/ Silverlight? I'd be interested in exploring hooking up a designer for that, if it would work on the cobra backend (but haven't tried).

Re: Editor

PostPosted: Wed Mar 16, 2011 9:24 am
by Charles
I have not.

Re: Editor

PostPosted: Mon Mar 21, 2011 9:03 pm
by torial
Initial Release of Naja v0.1 has been made. Expect bugs. But I still believe worth a try :-)

http://cobraide.codeplex.com/releases/view/62961

Re: Editor

PostPosted: Tue Mar 22, 2011 12:59 am
by suliman
For me it's do not work. Just Windows message about termination App.
Windows 7 x64

Re: Editor

PostPosted: Tue Mar 22, 2011 6:42 am
by torial
Suliman,

Can you tell me what kind of error you get? Or if something shows up in the Windows Events log.

I will be able to update the app within a week or so, and can add some application hooks, but won't be able to grab much time until then.

Re: Editor

PostPosted: Tue Mar 22, 2011 8:29 am
by torial
Hi Suliman,

Just wanted to mention that I posted a warning about Windows 7 x 64 as likely not to work, so that hopefully spare others until the issue is resolved.

Re: Editor

PostPosted: Tue Mar 22, 2011 10:52 am
by Charles
There have been similar problems with the Cobra compiler itself, which is a .NET app. Some of the tips at Troubleshooting may help.

Re: Editor

PostPosted: Tue Mar 22, 2011 10:35 pm
by RIGHT_THEN
Hey Sean,

Grabed your IDE exe to see what you released.
my operating system is win7 ultimate 32-bit.
it gives unhandled exceptions, when one opens a new file and
copies the allready existing files text into it, Color for tokens does not appear.
and when one wants to save, unhandled exception occurs which wants to terminate
the application. wanted to report this matter to you. i know it is utterly alpha yet ;)

Thanking_You
RIGHT_THEN

Re: Editor

PostPosted: Wed Mar 23, 2011 4:18 am
by suliman
torial wrote:Suliman,

Can you tell me what kind of error you get? Or if something shows up in the Windows Events log.

I will be able to update the app within a week or so, and can add some application hooks, but won't be able to grab much time until then.

Now I tried to run IDE on my home PC. Win7 x64 sp1. And it's run without problems. When I would have access to my work PC I will try run IDE there and grab logs there.

I tried to add new file to project and compile it and get exception:
Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.Reflection.TargetInvocationException: Адресат вызова создал исключение. ---> System.ComponentModel.Win32Exception: Не удается найти указанный файл
в System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
в Naja.RunCobraProcess(String args) в c:\Users\seanm\Desktop\Cobra\IDE\Naja.cobra:строка 469
--- Конец трассировки внутреннего стека исключений ---
в System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
в Qios.DevSuite.Components.QWeakDelegate.Invoke(Object[] args)
в Qios.DevSuite.Components.QWeakDelegate.InvokeDelegate(QWeakDelegate weakDelegate, Object[] args)
в Qios.DevSuite.Components.QMenuItem.OnMenuItemActivated(QMenuEventArgs e)
в Qios.DevSuite.Components.QMenuItemContainer.RaiseMenuItemActivated(QMenuEventArgs e)
в Qios.DevSuite.Components.QMenuItemContainer.ActivateItem(QMenuItem menuItem, Boolean expandWhenPossible, Boolean animate, Boolean showHotkeyPrefix, QMenuItemActivationType activationType)
в Qios.DevSuite.Components.QMenuItemContainer.OnMouseUp(MouseEventArgs e)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в Qios.DevSuite.Components.QControl.WndProc(Message& m)
в Qios.DevSuite.Components.QMenu.WndProc(Message& m)
в Qios.DevSuite.Components.QFloatingMenu.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Загруженные сборки **************
mscorlib
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
mscorlib.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Naja
Версия сборки: 0.0.0.0
Версия Win32: 0.0.0.0
CodeBase: file:///G:/Apps/Naja_0.1_Compressed/Naja.exe
----------------------------------------
Cobra.Lang
Версия сборки: 0.8.0.1
Версия Win32: 0.8.0.1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Cobra.Lang/0.8.0.1__0a4783a5c7c9616e/Cobra.Lang.dll
----------------------------------------
System.Windows.Forms
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ICSharpCode.TextEditor
Версия сборки: 3.0.0.3437
Версия Win32: 3.0.0.3437
CodeBase: file:///G:/Apps/Naja_0.1_Compressed/ICSharpCode.TextEditor.DLL
----------------------------------------
Qios.DevSuite.Components
Версия сборки: 4.0.0.0
Версия Win32: 4.0.0.0
CodeBase: file:///G:/Apps/Naja_0.1_Compressed/Qios.DevSuite.Components.DLL
----------------------------------------
System.Xml
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Web
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
DesignSurfaceManagerExt
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///G:/Apps/Naja_0.1_Compressed/DesignSurfaceManagerExt.DLL
----------------------------------------
DesignSurfaceExt2
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///G:/Apps/Naja_0.1_Compressed/DesignSurfaceExt2.DLL
----------------------------------------
Cobra.Lang.Compiler
Версия сборки: 0.0.0.0
Версия Win32: 0.0.0.0
CodeBase: file:///G:/Apps/Naja_0.1_Compressed/Cobra.Lang.Compiler.DLL
----------------------------------------
fastJSON
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///G:/Apps/Naja_0.1_Compressed/fastJSON.DLL
----------------------------------------
System.Data
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Windows.Forms.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** debugging (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

added:
I just tested IDE on another PC. here is log from windows log.
The name of the offending applications: Naja.exe, version: 0.0.0.0, time stamp: 0x4d881b8b
The name of the offending module: KERNELBASE.dll, version: 6.1.7600.16385, time stamp 0x4a5bdfe0
Exception Code: 0xe0434f4d
Offset error: 0x000000000000aa7d
Faulting process id: 0x% 9
Faulting application startup time: 0x% in 1910
Faulting application path:% 11
Faulting module path:% 12
Report code:% 13