Can someone add a step by step description of how to debug krpano?
my xml file starts with debugging flags on:
<krpano version="1.20.11" title="Tour" debugmode="true" consolelog="true">
and one of my hotspots has the following:
onclick="trace(onclick111)"
After clicking I'm going to my chrome console and see nothing.
Can someone understand what am I missing here?
Sorry to bother but still no trace messages in Chrome console. maybe something with my Chrome settings?
Anyway, I changed the code as you guys suggested:
<krpano version="1.20.11" title="Reelook Tour" debugmode="true" logkey="true">
.
.
<scene name="scene_jbjgjzjhju_2" title="My Title" onstart="" thumburl="panos/jbjgjzjhju_2.tiles/thumb.jpg" lat="" lng="" heading="">
.
.
<!-- Here is my Hotspot -->
<hotspot name="hsp_0_3" style="link_hs_sm" url="%FIRSTXML%/add_hotspot/picture/icon_L_9.png" onclick="trace(lala);"/>
.
.
I would appreciate if someone could take a look. It seems to me that maybe I'm missing something very basic here...
Thanks :-). looks like you solved my problem.
Although, still, trace messages are not seen in Chrome console this ('tilde') debug window will do the job.
I can debug now and this is what important.
Do as Klaus said inside your .html file.
The embedpano command needs the addition
„consolelog: true“
to display all krpano console messages also in the browser console.