chuongmep / RevitAddInManager

Revit AddinManager update .NET assemblies without restart Revit for developer.
MIT License
275 stars 50 forks source link

Can't Debug.Trace on DockPane #50

Open pierrenavarra opened 10 months ago

pierrenavarra commented 10 months ago

Hi, I'm using a DockPane. When I use AddInManager to run my new modified dll, Debug.Trace are not visible in your Trace Events window... Maybe the problem comes from the DockablePaneId with Guid.... Maybe you can reproduce the pb with this exemple : https://thebuildingcoder.typepad.com/blog/2013/05/a-simpler-dockable-panel-sample.html Cheers

chuongmep commented 10 months ago

Hi @pierrenavarra , I guess you are missing some step to setting before can use it , let read document https://github.com/chuongmep/RevitAddInManager/wiki/How-To-Use-Debug-Trace-Show-Output

pierrenavarra commented 10 months ago

Hi @chuongmep , thx for answering me All the Debug.Trac works in my project, except for DockablePane In general, I think there is a problem when Reload a DockablePane via AIM or something escapes me...

chuongmep commented 9 months ago

Hi @pierrenavarra , can give me some step to reproduce issue ?

pierrenavarra commented 9 months ago

Hi, I made a video for you, hope you'll understand my problem! https://mega.nz/file/lHEUzAbD#b8s7fi3hTuwSybz9DKZ6s6Bzczxk2eHUT8KKelq29bc Thx for taking time!

pierrenavarra commented 9 months ago

Hi @chuongmep Did you got time to have a look on my video?

chuongmep commented 9 months ago

Hi @pierrenavarra thank your for your video, I saw your video but still can't create again your issue in my computer, I hope I will have time on the weekend to help you with more detail and reproduce the issue for debug. If you have any more information, please provide more detail. Regrard !

pierrenavarra commented 9 months ago

Hi @chuongmep Thx ! It's cool! If you want to reproduce the pb, maybe you can test this exemple : https://twentytwo.space/2023/02/21/dockable-window-revit-add-ins-new-edition/ min.naung made a new version his dockablePane. DockPane is registered in Initialized Event and called in a Document.

shtirlitsDva commented 6 days ago

I am on 2022 and cannot see any output in the pane when I use Debug.WriteLine :(

chuongmep commented 6 days ago

Hi @shtirlitsDva thank you for your report, did you tried with Trace.WriteLine ?

shtirlitsDva commented 6 days ago

Hi. Same.