Can't Debug.Trace on DockPane
SonaBIMDev opened this issue · 12 comments
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
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
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...
Hi @pierrenavarra , can give me some step to reproduce issue ?
Hi,
I made a video for you, hope you'll understand my problem!
https://mega.nz/file/lHEUzAbD#b8s7fi3hTuwSybz9DKZ6s6Bzczxk2eHUT8KKelq29bc
Thx for taking time!
Hi @chuongmep
Did you got time to have a look on my video?
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 !
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.
I am on 2022 and cannot see any output in the pane when I use Debug.WriteLine :(
Hi @shtirlitsDva thank you for your report, did you tried with Trace.WriteLine ?
Hi. Same.
Hi @shtirlitsDva, can show me your configuration, example:
This is some step require before you can use it
Hi. I use your release builds, I do not compile myself.