View unanswered posts | View active topics


Reply to topic  [ 177 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 12  Next
fdbPlugin 
Author Message
Member

Joined: Mon May 26, 2008 3:06 pm
Posts: 2
Post 
JonasB , you didn't put the dll's in the right place. Read the following quote:

Philippe wrote:
tiagojanz wrote:
Yup I saw the screenshot but nothing happen here, I must drag the 2 files to plugins directory, right?

Locate your plugins directory in your user files.
From FD main menu: Tools > Application Files...


Wed Jun 18, 2008 7:34 am
Profile
Member

Joined: Tue Jun 17, 2008 8:10 pm
Posts: 58
Post 
Thanks! (And yes, the name "FirstRun" made me a bit suspicious.)

So, now that I can set breakpoints, and my Tools | Program Settings | Flash Viewer | External Player Path is set to sa_flashplayer_9_debug.exe, what else do I need to do? I start the project in Debug mode.
The execution doesn't halt on the breakpoints.

Thanks


Wed Jun 18, 2008 11:54 am
Profile
Member

Joined: Tue Jun 17, 2008 8:10 pm
Posts: 58
Post 
OK, so you should start the project by hitting "Run", not "Test Movie" - and F5 (what we're used to in VS) executes "Test Movie".

Is there an ETA when keyboard shortcuts for Step Into/Step Over etc will be implemented? Can I map those keys myself somewhere in FD's settings?

Thanks


Wed Jun 18, 2008 1:33 pm
Profile
Member

Joined: Mon Apr 28, 2008 11:21 pm
Posts: 21
Location: japan
Post 
JonasB wrote:
Thanks! (And yes, the name "FirstRun" made me a bit suspicious.)

So, now that I can set breakpoints, and my Tools | Program Settings | Flash Viewer | External Player Path is set to sa_flashplayer_9_debug.exe, what else do I need to do? I start the project in Debug mode.
The execution doesn't halt on the breakpoints.

Thanks

JonasB, please check Tools | Program Settings | fdbPlugin | DebugFlashPlayer and DebugWithCompile.
if value of DebugFlashPlayer is full path of debug flash player and value of DebugWithCompile is true,
set breakpoints and start debug with "start" of debug menu or "start" of debug toolbar(project is Debug mode)

"start" of debug menu
[img]http://pine.zero.ad.jp/?zbn39616/screenshot/fdbPluginMenu.png[/img]

"start" of debug toolbar
[img]http://pine.zero.ad.jp/?zbn39616/screenshot/fdbPluginToolBar.png[/img]


Wed Jun 18, 2008 1:59 pm
Profile E-mail WWW
Member

Joined: Wed Dec 05, 2007 11:46 am
Posts: 81
Post Got fdtracer working, but cant find flashlog.txt
flashlog.txt

where is this in vista, I searched my whole hard drive and it doesnt exist, so does this mean my debug player isnt working ?

edited- my debug player is installed in both ie and firefox, but this surely isnt the player FD uses non ? And in all cases is MUST read from this log file which I cant see existing on my hard drive anywhere...someone must have gone down this route in Vista..

thanks

My problem is solved, ask me (as i have typed too much today) if you want to know the secret with vista, less like a secret more like a gotcha...


Last edited by mojito on Tue Jun 24, 2008 4:38 pm, edited 2 times in total.



Mon Jun 23, 2008 12:14 pm
Profile
Member

Joined: Mon Jun 23, 2008 8:40 pm
Posts: 6
Location: Perpignan
Post Error with fdbplugin
Hi
I get the following error when I start the debugger with a breakpoint set.

==========================================
Object reference not set to an instance of an object.

at fdbPlugin.FdbWrapper.cmd_Break(String filefullpath, String classpath, Int32 line)
at fdbPlugin.FdbWrapper.cmd_Break()
at fdbPlugin.FdbWrapper.Start()
at fdbPlugin.PluginMain.Start(String filename)
at fdbPlugin.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority prority)
at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)
=============================================

I am pointing the DEBUGFLASHPLAYER at
C:\flex_sdk_3\runtimes\player\win\FlashPlayer.exe

and DEBUGWITHCOMPILE is set to true.

Regds
Fred


Tue Jun 24, 2008 11:18 am
Profile
Member

Joined: Mon Apr 28, 2008 11:21 pm
Posts: 21
Location: japan
Post Re: Error with fdbplugin
frederickbloggs wrote:
Hi
I get the following error when I start the debugger with a breakpoint set.

==========================================
Object reference not set to an instance of an object.

at fdbPlugin.FdbWrapper.cmd_Break(String filefullpath, String classpath, Int32 line)
at fdbPlugin.FdbWrapper.cmd_Break()
at fdbPlugin.FdbWrapper.Start()
at fdbPlugin.PluginMain.Start(String filename)
at fdbPlugin.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority prority)
at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)
=============================================

I am pointing the DEBUGFLASHPLAYER at
C:¥flex_sdk_3¥runtimes¥player¥win¥FlashPlayer.exe

and DEBUGWITHCOMPILE is set to true.

Regds
Fred
Is the version of fdbplugin 0.2.4.0 or SVN?
and Could you send me project?of which the error goes out, and tell me positon of breakpoint?
tttday@mail.goo.ne.jp


Tue Jun 24, 2008 3:21 pm
Profile E-mail WWW
Member

Joined: Mon Jun 23, 2008 8:40 pm
Posts: 6
Location: Perpignan
Post 
I am using the plugin version 2.4.0 (what is the SVN?).

The breakpoint is near the entry point of my Flex project. I am not sure
what exact information you need about my project.

Regds
Fred


Tue Jun 24, 2008 3:44 pm
Profile
Member

Joined: Mon Apr 28, 2008 11:21 pm
Posts: 21
Location: japan
Post 
frederickbloggs wrote:
I am using the plugin version 2.4.0 (what is the SVN?).

The breakpoint is near the entry point of my Flex project. I am not sure
what exact information you need about my project.

Regds
Fred

konkon wrote:
Could you send me project?of which the error goes out

This mean is "Could you send me source with mail?"
tttday@mail.goo.ne.jp


Tue Jun 24, 2008 5:21 pm
Profile E-mail WWW
Member

Joined: Mon Jun 23, 2008 8:40 pm
Posts: 6
Location: Perpignan
Post 
Hi

Thanks but unfortunately my project is quite big and I would prefer not to send it around. I could cut it down but that would take a while and I was hoping for a quick solution. I will think about doing this.

In the meantime, perhaps it would be good if the code in your very useful addin included some checks and threw some errors with useful messages which would give users a clue about the source of the problem. For example in the problem I am having it seems as though an object fails to instantiate. Perhaps this failure should be caught and reported by your code before the C# error handler gets called and the exception crashes the addin ? Indeed the error may be something trivial that I could easily figure out myself if I have a bit more information.

Regds
Fred


Tue Jun 24, 2008 7:45 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 7503
Location: Paris, France
Post 
frederickbloggs wrote:
Hi

Thanks but unfortunately my project is quite big and I would prefer not to send it around. I could cut it down but that would take a while and I was hoping for a quick solution. I will think about doing this.

Providing minimal sample code allowing to reproduce the problems really helps a lot.


Tue Jun 24, 2008 8:55 pm
Profile WWW
Member

Joined: Mon Jun 23, 2008 8:40 pm
Posts: 6
Location: Perpignan
Post 
OK. I will try to put something together. It would also be useful if there were some error checks in the plugin code. I am sure that would save time for you and me.
Regds
Fred.


Tue Jun 24, 2008 9:32 pm
Profile
Member

Joined: Tue Jun 24, 2008 9:59 pm
Posts: 8
Post Provided FlashDevelop.exe crashes
Hi guys,

my heart just went boo-boo when I found out about the debugger-plugin. This is marvellous! Immediately, I downloaded the package and put the dlls in the plugin folder and replaced the FlashDevelop.exe with the one provided in the fdbPlugin0.2.4.0.zip archive.

Unfortunalely, when I start FlashDevelop (it's v3 beta6) now, I just get "The application has stopped working" error message. I'm using Vista if that makes any difference.

Is there anything I can do about this? I would really like to use this awsome debugger.

Any help is greatly appreciated :-)

Cheers and thanks!


Last edited by Heimdall on Wed Jun 25, 2008 7:57 am, edited 1 time in total.



Tue Jun 24, 2008 10:15 pm
Profile
Member

Joined: Mon Jun 23, 2008 8:40 pm
Posts: 6
Location: Perpignan
Post 
Great news! I got the debugger to work. I am suddenly very happy. I am not sure if I know why but one thing I did was to remove a project that the main project was linked to. I will test this out again tomorrow and let you know if this is correct. The problem was clouded by various old sessions of fdb.exe which would not die.

The bad news is that while stepping through my code I got the message

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at fdbPlugin.PluginMain.<>c__DisplayClass1f.<fdbWrapper_ContinueEvent>b__1d()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Any suggestions ?
Fred


Tue Jun 24, 2008 11:03 pm
Profile
Member

Joined: Mon Apr 28, 2008 11:21 pm
Posts: 21
Location: japan
Post 
frederickbloggs wrote:
Great news! I got the debugger to work. I am suddenly very happy. I am not sure if I know why but one thing I did was to remove a project that the main project was linked to. I will test this out again tomorrow and let you know if this is correct. The problem was clouded by various old sessions of fdb.exe which would not die.

The bad news is that while stepping through my code I got the message

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at fdbPlugin.PluginMain.<>c__DisplayClass1f.<fdbWrapper_ContinueEvent>b__1d()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Any suggestions ?
Fred
Hi, frederickbloggs.
I add debug code to fdbPlugin0.2.4.0.
if you reproduces this error, error dialog appears with debug info.
tell me debug info.

Download here
http://pine.zero.ad.jp/?zbn39616/download/fdbPlugin0.2.4.0_debug.zip
http://pine.zero.ad.jp/?zbn39616/download/fdbPlugin0.2.4.0_debug_src.zip

EDIT: Add debug code and Trace to fdbPlugin0.3.5.0.
http://orange.zero.jp/zbn39616.pine/dow ... nload.html


Last edited by konkon on Tue Jul 08, 2008 4:46 pm, edited 1 time in total.



Thu Jun 26, 2008 9:52 am
Profile E-mail WWW
Display posts from previous:  Sort by  
Reply to topic   [ 177 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 12  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.